1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Symbol::Global::Name takes a reference and optional package name. It

returns the name of the referenced variable as long as it's in the
package or sub-package and it's a global variable. Returned name is
prefixed with type sigil, eg. '$', '@', '%', '&' or '*'.

WWW: http://search.cpan.org/dist/Symbol-Global-Name/
This commit is contained in:
Matthew Seaman 2013-11-27 00:02:06 +00:00
parent 716fa524a5
commit c58881a2ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334983
5 changed files with 37 additions and 0 deletions

View File

@ -2705,6 +2705,7 @@
SUBDIR += p5-Sub-Signatures
SUBDIR += p5-Sub-Uplevel
SUBDIR += p5-Sub-WrapPackages
SUBDIR += p5-Symbol-Global-Name
SUBDIR += p5-Symbol-Util
SUBDIR += p5-Syntax-Keyword-Junction
SUBDIR += p5-Sys-Cpu

View File

@ -0,0 +1,19 @@
# Created by: Matthew Seaman <matthew@FreeBSD.org>
# $FreeBSD$
PORTNAME= Symbol-Global-Name
PORTVERSION= 0.04
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= matthew@FreeBSD.org
COMMENT= Finds name and type of a global variable
USES= perl5
USE_PERL5= configure
regression-test: build
@cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Symbol-Global-Name-0.04.tar.gz) = 252c9ada77dbe49a247ccb2cae3e7af91b6368027c13af12e8fad2c0c3bf093a
SIZE (Symbol-Global-Name-0.04.tar.gz) = 21635

View File

@ -0,0 +1,6 @@
Symbol::Global::Name takes a reference and optional package name. It
returns the name of the referenced variable as long as it's in the
package or sub-package and it's a global variable. Returned name is
prefixed with type sigil, eg. '$', '@', '%', '&' or '*'.
WWW: http://search.cpan.org/dist/Symbol-Global-Name/

View File

@ -0,0 +1,9 @@
%%PERL5_MAN3%%/Symbol::Global::Name.3.gz
%%SITE_PERL%%/Symbol/Global/Name.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Symbol/Global/Name/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Symbol/Global/Name
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Symbol/Global
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Symbol
@dirrmtry %%SITE_PERL%%/Symbol/Global
@dirrmtry %%SITE_PERL%%/Symbol