Class::InsideOutClass::InsideOut is a Perl module with a safe, simple inside-out object construction kit. | |
Download |
Class::InsideOut Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- David A. Golden
- Publisher web site:
- http://search.cpan.org/~dagolden/CPAN-Reporter-Smoker-0.15/lib/CPAN/Reporter/Smoker.pod
Class::InsideOut Tags
Class::InsideOut Description
Class::InsideOut is a Perl module with a safe, simple inside-out object construction kit. Class::InsideOut is a Perl module with a safe, simple inside-out object construction kit.SYNOPSIS package My::Class; use Class::InsideOut qw( public private register id ); public name => my %name; # accessor: name() private age => my %age; # no accessor sub new { register( shift ) } sub greeting { my $self = shift; return "Hello, my name is $name{ id $self }"; }This 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 needsIt provides the minimal support necessary for creating safe inside-out objects and generating flexible accessors. Requirements: · Perl
Class::InsideOut Related Software