devel/p5-Class-InsideOut 1.14p0 OpenBSD
alternative object layout in perl
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
Description
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
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/p5-Class-InsideOut | 1.14p0 |
| FreeBSD | devel/p5-Class-InsideOut | 1.14 |
| NetBSD | devel/p5-Class-InsideOut | 1.14nb10 |
| DragonFly | devel/p5-Class-InsideOut | 1.14 |
| MidnightBSD | devel/p5-Class-InsideOut | 1.14 |
| HardenedBSD | devel/p5-Class-InsideOut | 1.14 |
| GhostBSD | devel/p5-Class-InsideOut | 1.14 |
Install
Binary package:
pkg_add p5-Class-InsideOut
From the ports tree:
cd /usr/ports/devel/p5-Class-InsideOut && make install