Reimport k3b 1.0.5nb12 as k3b-kde3
[pkgsrcv2.git] / devel / p5-autobox / DESCR
1 The Perl 5 module autobox provides an autobox pragma.  It allows
2 methods to be called on integers, floats, strings, arrays, hashes,
3 and code references in exactly the same manner as blessed references.
4 The autoboxing is transparent: boxed values are not blessed into
5 their (user-defined) implementation class (unless the method elects
6 to bestow such a blessing) - they simply use its methods as though
7 they are.
8 The classes (packages) into which the native types are boxed are
9 fully configurable. By default, a method invoked on a non-object
10 is assumed to be defined in a class whose name corresponds to the
11 ref() type of that value - or SCALAR if the value is a non-reference.
12 This mapping can be overriden by passing key/value pairs to the use
13 autobox statement, in which the keys represent native types, and
14 the values their associated classes.