summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrillig <rillig>2006-01-21 10:42:13 +0000
committerrillig <rillig>2006-01-21 10:42:13 +0000
commit86d541355add90a0dac67fd8ed2b01f596941010 (patch)
tree32990e50b37faa179c078869556eddcb840c87eb /devel
parent1884c00655165ad6b4ed4490dadd22abb5c6f22d (diff)
downloadpkgsrc-86d541355add90a0dac67fd8ed2b01f596941010.tar.gz
Imported p5-UNIVERSAL-requirefrom pkgsrc-wip.
UNIVERSAL::require - require() modules from a variable. If you've ever had to do this... eval "require $module"; to get around the bareword caveats on require(), this module is for you. It creates a universal require() class method that will work with every Perl module and its secure. So instead of doing some arcane eval() work, you can do this: $module->require; It doesn't save you much typing, but it'll make alot more sense to someone who's not a ninth level Perl acolyte. WWW: http://search.cpan.org/dist/UNIVERSAL-require/ Packaged by Roman Kulik.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-UNIVERSAL-require/DESCR17
-rw-r--r--devel/p5-UNIVERSAL-require/Makefile15
-rw-r--r--devel/p5-UNIVERSAL-require/PLIST1
-rw-r--r--devel/p5-UNIVERSAL-require/distinfo6
4 files changed, 39 insertions, 0 deletions
diff --git a/devel/p5-UNIVERSAL-require/DESCR b/devel/p5-UNIVERSAL-require/DESCR
new file mode 100644
index 00000000000..4abccba4b06
--- /dev/null
+++ b/devel/p5-UNIVERSAL-require/DESCR
@@ -0,0 +1,17 @@
+UNIVERSAL::require - require() modules from a variable.
+
+If you've ever had to do this...
+
+ eval "require $module";
+
+to get around the bareword caveats on require(), this module is for
+you. It creates a universal require() class method that will work with
+every Perl module and its secure. So instead of doing some arcane
+eval() work, you can do this:
+
+ $module->require;
+
+It doesn't save you much typing, but it'll make alot more sense to
+someone who's not a ninth level Perl acolyte.
+
+WWW: http://search.cpan.org/dist/UNIVERSAL-require/
diff --git a/devel/p5-UNIVERSAL-require/Makefile b/devel/p5-UNIVERSAL-require/Makefile
new file mode 100644
index 00000000000..7f99c3133b9
--- /dev/null
+++ b/devel/p5-UNIVERSAL-require/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/21 10:42:13 rillig Exp $
+
+DISTNAME= UNIVERSAL-require-0.10
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MS/MSCHWERN/}
+
+MAINTAINER= kuli0020@umn.edu
+HOMEPAGE= http://search.cpan.org/dist/UNIVERSAL-require/
+COMMENT= Perl module to require() from a variable
+
+PERL5_PACKLIST= auto/UNIVERSAL/require/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-UNIVERSAL-require/PLIST b/devel/p5-UNIVERSAL-require/PLIST
new file mode 100644
index 00000000000..4469591591b
--- /dev/null
+++ b/devel/p5-UNIVERSAL-require/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/21 10:42:13 rillig Exp $
diff --git a/devel/p5-UNIVERSAL-require/distinfo b/devel/p5-UNIVERSAL-require/distinfo
new file mode 100644
index 00000000000..779f89fcd93
--- /dev/null
+++ b/devel/p5-UNIVERSAL-require/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/21 10:42:13 rillig Exp $
+
+SHA1 (UNIVERSAL-require-0.10.tar.gz) = 4ea9b47a41f88d96a1c6469de428192ea9212775
+RMD160 (UNIVERSAL-require-0.10.tar.gz) = eada258d66b69bcfa64babeb12f2ddcb78a9a861
+MD5 (UNIVERSAL-require-0.10.tar.gz) = 4ea51136ee7052bb37dc52c7cb8945b0
+Size (UNIVERSAL-require-0.10.tar.gz) = 3642 bytes