Initial import of p5-autobox version 2.55 in the NetBSD Packages
authorseb <seb>
Sun, 22 Mar 2009 14:37:44 +0000 (14:37 +0000)
committerseb <seb>
Sun, 22 Mar 2009 14:37:44 +0000 (14:37 +0000)
commitf16d73dbc7de7ec452af41f8ad9f84d00db3a324
tree5e0efd0dea03d03492cbee86cee57ad76d6d4b94
parent25d262b285d8cc1f18d8454e8bd42489b31d43fe
Initial import of p5-autobox version 2.55 in the NetBSD Packages
Collection.

The Perl 5 module autobox provides an autobox pragma.  It allows
methods to be called on integers, floats, strings, arrays, hashes,
and code references in exactly the same manner as blessed references.
The autoboxing is transparent: boxed values are not blessed into
their (user-defined) implementation class (unless the method elects
to bestow such a blessing) - they simply use its methods as though
they are.  The classes (packages) into which the native types are
boxed are fully configurable. By default, a method invoked on a
non-object is assumed to be defined in a class whose name corresponds
to the ref() type of that value - or SCALAR if the value is a
non-reference.  This mapping can be overriden by passing key/value
pairs to the use autobox statement, in which the keys represent
native types, and the values their associated classes.
devel/p5-autobox/DESCR [new file with mode: 0644]
devel/p5-autobox/Makefile [new file with mode: 0644]
devel/p5-autobox/distinfo [new file with mode: 0644]