freebsd-ports/devel/p5-Sub-Current/pkg-plist
Chin-San Huang 98d153478b Add p5-Sub-Current, get the current subroutine.
Sub::Current makes available a function ROUTINE(), that returns a code
reference pointing at the currently executing subroutine.

In a special block (BEGIN, END, CHECK, INIT, and UNITCHECK in Perl 5.10)
this function will return undef.

Outside of a special block (that is, at the top level of a program)
ROUTINE() will return undef as well.

WWW: http://search.cpan.org/dist/Sub-Current/
2008-08-30 18:05:09 +00:00

7 lines
354 B
Text

%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Current/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Current/Current.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Current/Current.so
%%SITE_PERL%%/%%PERL_ARCH%%/Sub/Current.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/Current
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Sub