devel/p5-Class-Classless 1.35p1 OpenBSD
perl object without classes
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
Description
This module allows the use of objects without classes, like in some lesser known object languages based on prototyping.
Instead of having to define classes with methods, one creates new objects by cloning existing objects, and then adding methods (and attributes) explicitly to a given object.
`Inheritance' is achieved through object lineage: an object has been cloned from a line of ancestors, and any method not found in an object will be looked up in the object's line of ancestors.
Install
Binary package:
pkg_add p5-Class-Classless
From the ports tree:
cd /usr/ports/devel/p5-Class-Classless && make install
Dependencies
No port depends on this one.