simple inside-out class layout
This commit is contained in:
parent
0cfda185cc
commit
a3a6f7483f
21
devel/p5-Class-InsideOut/Makefile
Normal file
21
devel/p5-Class-InsideOut/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/12 16:27:47 espie Exp $
|
||||
|
||||
COMMENT= "alternative object layout in perl"
|
||||
|
||||
|
||||
MODULES= cpan
|
||||
|
||||
DISTNAME= Class-InsideOut-1.03
|
||||
CATEGORIES= devel
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE=modbuild
|
||||
|
||||
RUN_DEPENDS= ::devel/p5-Class-ISA
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/p5-Class-InsideOut/distinfo
Normal file
4
devel/p5-Class-InsideOut/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (Class-InsideOut-1.03.tar.gz) = ac3c30b555ecedb1c0da1f7380b99652
|
||||
RMD160 (Class-InsideOut-1.03.tar.gz) = 7f827dafa4c11478a67558f1ad75cfafbf97cb94
|
||||
SHA1 (Class-InsideOut-1.03.tar.gz) = 58c0a41c442a1396ad03b8abd39cad62e834cabd
|
||||
SIZE (Class-InsideOut-1.03.tar.gz) = 48660
|
25
devel/p5-Class-InsideOut/pkg/DESCR
Normal file
25
devel/p5-Class-InsideOut/pkg/DESCR
Normal file
@ -0,0 +1,25 @@
|
||||
Traditional perl objects use simple hashes to store values.
|
||||
There's a recent trend towards an inside-out construction,
|
||||
where one uses unique ids on objects, and stores one named
|
||||
value for all objects into an hash indexed by ids.
|
||||
|
||||
Class::InsideOut is a simple, safe and streamlined toolkit for
|
||||
building inside-out objects. Unlike most other inside-out object
|
||||
building modules already on CPAN, this module aims for
|
||||
minimalism and robustness:
|
||||
|
||||
* Does not require derived classes to subclass it
|
||||
|
||||
* Uses no source filters, attributes or "CHECK" blocks
|
||||
|
||||
* Supports any underlying object type including black-box inheritance
|
||||
|
||||
* Does not leak memory on object destruction
|
||||
|
||||
* Overloading-safe
|
||||
|
||||
* Thread-safe for Perl 5.8 or better
|
||||
|
||||
* "mod_perl" compatible
|
||||
|
||||
* Makes no assumption about inheritance or initializer needs
|
12
devel/p5-Class-InsideOut/pkg/PLIST
Normal file
12
devel/p5-Class-InsideOut/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/12 16:27:47 espie Exp $
|
||||
${P5SITE}/Class/InsideOut/
|
||||
${P5SITE}/Class/InsideOut.pm
|
||||
${P5SITE}/Class/InsideOut.pod
|
||||
${P5SITE}/Class/InsideOut/Manual/
|
||||
${P5SITE}/Class/InsideOut/Manual/About.pm
|
||||
${P5SITE}/Class/InsideOut/Manual/About.pod
|
||||
${P5SITE}/Class/InsideOut/Manual/Advanced.pm
|
||||
${P5SITE}/Class/InsideOut/Manual/Advanced.pod
|
||||
@man man/man3p/Class::InsideOut.3p
|
||||
@man man/man3p/Class::InsideOut::Manual::About.3p
|
||||
@man man/man3p/Class::InsideOut::Manual::Advanced.3p
|
Loading…
x
Reference in New Issue
Block a user