summaryrefslogtreecommitdiff
path: root/devel/p5-Scope-Upper/DESCR
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/DESCR
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/DESCR')
-rw-r--r--devel/p5-Scope-Upper/DESCR9
1 files changed, 9 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"