diff options
author | seb <seb@pkgsrc.org> | 2007-09-16 22:51:57 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2007-09-16 22:51:57 +0000 |
commit | dc24759dc200227a2143ebca9e778cb01d4a50ee (patch) | |
tree | 0425d4905862249b4cd3ca2e6b6693c90ed7acff /devel/p5-Object-InsideOut | |
parent | 22119eef72f8f6790efb0cb6ac097a11d6534e3d (diff) | |
download | pkgsrc-dc24759dc200227a2143ebca9e778cb01d4a50ee.tar.gz |
Initial import of p5-Object-InsideOut version 3.25 into The NetBSD
Packages Collection.
The Perl 5 module Object::InsideOut provides comprehensive support
for implementing classes using the inside-out object model.
It implements inside-out objects as anonymous scalar references
that are blessed into a class with the scalar containing the ID
for the object (usually a sequence number). Object data (i.e.,
fields) are stored within the class's package in either arrays
indexed by the object's ID, or hashes keyed to the object's ID.
The virtues of the inside-out object model over the 'blessed hash'
object model have been extolled in detail elsewhere. Briefly,
inside-out objects offer the following advantages over 'blessed
hash' objects:
* Encapsulation
* Field Name Collision Avoidance
* Compile-time Name Checking
Diffstat (limited to 'devel/p5-Object-InsideOut')
-rw-r--r-- | devel/p5-Object-InsideOut/DESCR | 16 | ||||
-rw-r--r-- | devel/p5-Object-InsideOut/Makefile | 20 | ||||
-rw-r--r-- | devel/p5-Object-InsideOut/PLIST | 1 | ||||
-rw-r--r-- | devel/p5-Object-InsideOut/distinfo | 5 |
4 files changed, 42 insertions, 0 deletions
diff --git a/devel/p5-Object-InsideOut/DESCR b/devel/p5-Object-InsideOut/DESCR new file mode 100644 index 00000000000..9a224a19a61 --- /dev/null +++ b/devel/p5-Object-InsideOut/DESCR @@ -0,0 +1,16 @@ +The Perl 5 module Object::InsideOut provides comprehensive support +for implementing classes using the inside-out object model. + +It implements inside-out objects as anonymous scalar references +that are blessed into a class with the scalar containing the ID +for the object (usually a sequence number). Object data (i.e., +fields) are stored within the class's package in either arrays +indexed by the object's ID, or hashes keyed to the object's ID. + +The virtues of the inside-out object model over the 'blessed hash' +object model have been extolled in detail elsewhere. Briefly, +inside-out objects offer the following advantages over 'blessed +hash' objects: +* Encapsulation +* Field Name Collision Avoidance +* Compile-time Name Checking diff --git a/devel/p5-Object-InsideOut/Makefile b/devel/p5-Object-InsideOut/Makefile new file mode 100644 index 00000000000..63ed7a8fbe4 --- /dev/null +++ b/devel/p5-Object-InsideOut/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/09/16 22:51:57 seb Exp $ +# + +DISTNAME= Object-InsideOut-3.25 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Object/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Object-InsideOut/ +COMMENT= Perl 5 module providing comprehensive inside-out object support + +DEPENDS+= p5-Exception-Class>=1.22:../../devel/p5-Exception-Class +DEPENDS+= p5-Want>=0.12:../../devel/p5-Want + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Object/InsideOut/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Object-InsideOut/PLIST b/devel/p5-Object-InsideOut/PLIST new file mode 100644 index 00000000000..0e4daa18cba --- /dev/null +++ b/devel/p5-Object-InsideOut/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/16 22:51:57 seb Exp $ diff --git a/devel/p5-Object-InsideOut/distinfo b/devel/p5-Object-InsideOut/distinfo new file mode 100644 index 00000000000..5981f166651 --- /dev/null +++ b/devel/p5-Object-InsideOut/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/09/16 22:51:57 seb Exp $ + +SHA1 (Object-InsideOut-3.25.tar.gz) = 7c6465dd46601baac6e5eebcf30b49d13f8473a6 +RMD160 (Object-InsideOut-3.25.tar.gz) = 7429c7f0c566ad39fbe1e928209c9c592a09d7b3 +Size (Object-InsideOut-3.25.tar.gz) = 107165 bytes |