aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Lexical-Var
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-13 17:21:06 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-13 17:21:06 +0000
commit3c558e3cd7b894a1d4cf4e13a248ee1fa4ea4608 (patch)
treef19b4260ee38eaadd6730c9615e210a86523f446 /devel/p5-Lexical-Var
parent5c8b150181a1887eaca00a18bbb647f8344e621d (diff)
downloadports-3c558e3cd7b894a1d4cf4e13a248ee1fa4ea4608.tar.gz
ports-3c558e3cd7b894a1d4cf4e13a248ee1fa4ea4608.zip
Notes
Diffstat (limited to 'devel/p5-Lexical-Var')
-rw-r--r--devel/p5-Lexical-Var/pkg-descr14
-rw-r--r--devel/p5-Lexical-Var/pkg-plist4
2 files changed, 15 insertions, 3 deletions
diff --git a/devel/p5-Lexical-Var/pkg-descr b/devel/p5-Lexical-Var/pkg-descr
index 132f7e25ba33..0ea2ceb5ed00 100644
--- a/devel/p5-Lexical-Var/pkg-descr
+++ b/devel/p5-Lexical-Var/pkg-descr
@@ -1,3 +1,15 @@
Perl module for static variables without namespace pollution
-WWW: http://search.cpan.org/dist/Lexical-Var/
+Lexical::Var and Lexical::Sub implement lexical scoping of static variables and
+subroutines. Although it can be used directly, it is mainly intended to be
+infrastructure for modules that export particular objects.
+
+Lexical::Var only manages variables of static duration (the kind of duration
+that our and state variables have). To get a fresh variable for each invocation
+of a function, use my.
+
+Lexical::Sub is implemented through the mechanism of Lexical::Var. Its distinct
+name and declaration syntax exist to make lexical subroutine declarations
+clearer.
+
+WWW: http://search.cpan.org/dist/Lexical-Var/
diff --git a/devel/p5-Lexical-Var/pkg-plist b/devel/p5-Lexical-Var/pkg-plist
index 32c85d622781..2872a865d886 100644
--- a/devel/p5-Lexical-Var/pkg-plist
+++ b/devel/p5-Lexical-Var/pkg-plist
@@ -1,8 +1,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Lexical/Sub.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Lexical/Var.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lexical/Var/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lexical/Var/Var.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lexical/Var/Var.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lexical/Var/.packlist
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lexical/Var
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lexical/Var
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lexical
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Lexical