summaryrefslogtreecommitdiff
path: root/devel/p5-Scope-Upper
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-04-29 19:34:24 +0000
committersno <sno@pkgsrc.org>2009-04-29 19:34:24 +0000
commit31ea0328ef6e0850eb8c3e7088d4ea8192ec575c (patch)
tree97a91180bb0241cab18b53f6ff7008edf054fbe8 /devel/p5-Scope-Upper
parent05d31224a41c27f116f380bce24bbdcd01a237f6 (diff)
downloadpkgsrc-31ea0328ef6e0850eb8c3e7088d4ea8192ec575c.tar.gz
PkgSrc import of perl 5 module Scope::Upper. This module is a required
dependency for the update of Catalyst::Runtime (/www/p5-Catalyst-Runtime) to 5.800. This module lets you defer actions at run-time that will take place when the control flow returns into an upper scope. Currently, you can: * hook an upper scope end with "reap" * localize variables, array/hash values or deletions of elements in higher contexts with respectively "localize", "localize_elem" and "localize_delete" * return values immediately to an upper level with "unwind", and know which context was in use then with "want_at"
Diffstat (limited to 'devel/p5-Scope-Upper')
-rw-r--r--devel/p5-Scope-Upper/DESCR9
-rw-r--r--devel/p5-Scope-Upper/Makefile18
-rw-r--r--devel/p5-Scope-Upper/distinfo5
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-Scope-Upper/DESCR b/devel/p5-Scope-Upper/DESCR
new file mode 100644
index 00000000000..3d260449f92
--- /dev/null
+++ b/devel/p5-Scope-Upper/DESCR
@@ -0,0 +1,9 @@
+This module lets you defer actions at run-time that will take place when the
+control flow returns into an upper scope. Currently, you can:
+
+ * hook an upper scope end with "reap"
+ * localize variables, array/hash values or deletions of elements in
+ higher contexts with respectively "localize", "localize_elem" and
+ "localize_delete"
+ * return values immediately to an upper level with "unwind", and know
+ which context was in use then with "want_at"
diff --git a/devel/p5-Scope-Upper/Makefile b/devel/p5-Scope-Upper/Makefile
new file mode 100644
index 00000000000..3ad1ab2e93b
--- /dev/null
+++ b/devel/p5-Scope-Upper/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/29 19:34:24 sno Exp $
+
+DISTNAME= Scope-Upper-0.08
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Scope/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Scope-Upper/
+COMMENT= Perl5 module to act on upper scopes
+LICENSE= gnu-gpl-v2 # OR artistic
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Scope/Upper/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Scope-Upper/distinfo b/devel/p5-Scope-Upper/distinfo
new file mode 100644
index 00000000000..cc4789ec9a8
--- /dev/null
+++ b/devel/p5-Scope-Upper/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/29 19:34:24 sno Exp $
+
+SHA1 (Scope-Upper-0.08.tar.gz) = 9071ff5f27602373356908dadb3095c84f61fef5
+RMD160 (Scope-Upper-0.08.tar.gz) = 44466aa81d34a1455149774bed41a9a6a97744b2
+Size (Scope-Upper-0.08.tar.gz) = 25896 bytes