From 3c558e3cd7b894a1d4cf4e13a248ee1fa4ea4608 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 13 Mar 2012 17:21:06 +0000 Subject: - Add more description to pkg-descr - Sort PLIST Feature safe: yes --- devel/p5-Lexical-Var/pkg-descr | 14 +++++++++++++- devel/p5-Lexical-Var/pkg-plist | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'devel/p5-Lexical-Var') 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 -- cgit v1.2.3