import Module::Loaded 0.01

When testing applications, often you find yourself needing to provide
functionality in your test environment that would usually be provided by
external modules. Rather than munging the %INC by hand to mark these
external modules as loaded, so they are not attempted to be loaded by
perl, this module offers you a very simple way to mark modules as loaded
and/or unloaded.
This commit is contained in:
jasper 2008-04-15 21:39:57 +00:00
parent de2db5596e
commit 1fcbcc8f73
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/15 21:39:57 jasper Exp $
COMMENT= mark modules as loaded or unloaded
DISTNAME= Module-Loaded-0.01
CATEGORIES= devel
# perl
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MODULES= cpan
CPAN_AUTHOR= KANE
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Module-Loaded-0.01.tar.gz) = vygwx1tM546+7n9e0HTqKg==
RMD160 (Module-Loaded-0.01.tar.gz) = YDDauge2/KX8jfyKl+ln098VQEw=
SHA1 (Module-Loaded-0.01.tar.gz) = EDzLkCJM92WsHGjWQ+dBEqyNb8Y=
SHA256 (Module-Loaded-0.01.tar.gz) = OjtP5bcMkG/YxVIBFCOxx7+p0SMNXVPqVe80/VISZkY=
SIZE (Module-Loaded-0.01.tar.gz) = 2848

View File

@ -0,0 +1,6 @@
When testing applications, often you find yourself needing to provide
functionality in your test environment that would usually be provided by
external modules. Rather than munging the %INC by hand to mark these
external modules as loaded, so they are not attempted to be loaded by
perl, this module offers you a very simple way to mark modules as loaded
and/or unloaded.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/15 21:39:57 jasper Exp $
${P5SITE}/Module/
${P5SITE}/Module/Loaded.pm
@man man/man3p/Module::Loaded.3p