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
This commit is contained in:
parent
22119eef72
commit
dc24759dc2
4 changed files with 42 additions and 0 deletions
16
devel/p5-Object-InsideOut/DESCR
Normal file
16
devel/p5-Object-InsideOut/DESCR
Normal file
|
@ -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
|
20
devel/p5-Object-InsideOut/Makefile
Normal file
20
devel/p5-Object-InsideOut/Makefile
Normal file
|
@ -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"
|
1
devel/p5-Object-InsideOut/PLIST
Normal file
1
devel/p5-Object-InsideOut/PLIST
Normal file
|
@ -0,0 +1 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/16 22:51:57 seb Exp $
|
5
devel/p5-Object-InsideOut/distinfo
Normal file
5
devel/p5-Object-InsideOut/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue