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:
parent
de2db5596e
commit
1fcbcc8f73
17
devel/p5-Module-Loaded/Makefile
Normal file
17
devel/p5-Module-Loaded/Makefile
Normal 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>
|
5
devel/p5-Module-Loaded/distinfo
Normal file
5
devel/p5-Module-Loaded/distinfo
Normal 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
|
6
devel/p5-Module-Loaded/pkg/DESCR
Normal file
6
devel/p5-Module-Loaded/pkg/DESCR
Normal 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.
|
4
devel/p5-Module-Loaded/pkg/PLIST
Normal file
4
devel/p5-Module-Loaded/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user