Initial import of p5-aliased 0.30

aliased is simple in concept but is a rather handy module. It loads 
the class you specify and exports into your namespace a subroutine
that returns the class name. You can explicitly alias the class to 
another name or, if you prefer, you can do so implicitly.
In the latter case, the name of the subroutine is the last part of
the class name.

ok pea@
This commit is contained in:
kevlo 2009-10-05 12:50:38 +00:00
parent 6a15aa4e75
commit ef8624a610
4 changed files with 37 additions and 0 deletions

23
devel/p5-aliased/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/10/05 12:50:38 kevlo Exp $
COMMENT= use shorter versions of class names
DISTNAME= aliased-0.30
CATEGORIES= devel
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
MAKE_ENV= TEST_POD=Yes
CPAN_AUTHOR= OVID
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (aliased-0.30.tar.gz) = jC7khpAdrn0cMemi1pxsjw==
RMD160 (aliased-0.30.tar.gz) = 0WYVTIECw2dgCctpal7trV2w5Zs=
SHA1 (aliased-0.30.tar.gz) = eMVf2sGeMHcvlF+URvYpvQ7hPMg=
SHA256 (aliased-0.30.tar.gz) = 5EUiH7uXwOyg90YdPIy3G0AI8mQpH7pdDqMCYLZbDMc=
SIZE (aliased-0.30.tar.gz) = 6589

View File

@ -0,0 +1,6 @@
aliased is simple in concept but is a rather handy module. It loads
the class you specify and exports into your namespace a subroutine
that returns the class name. You can explicitly alias the class to
another name or, if you prefer, you can do so implicitly.
In the latter case, the name of the subroutine is the last part of
the class name.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/05 12:50:38 kevlo Exp $
${P5SITE}/aliased.pm
@man man/man3p/aliased.3p