pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Note initial addition of p5-autobox version 2.55 a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dcf1f3a27326
branches:  trunk
changeset: 556503:dcf1f3a27326
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Mar 22 14:38:45 2009 +0000

description:
Note initial addition of p5-autobox version 2.55 as devel/p5-autobox
into 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

diffstat:

 doc/CHANGES-2009 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 91a9b19ebe75 -r dcf1f3a27326 doc/CHANGES-2009
--- a/doc/CHANGES-2009  Sun Mar 22 14:38:22 2009 +0000
+++ b/doc/CHANGES-2009  Sun Mar 22 14:38:45 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2009,v 1.1150 2009/03/22 14:09:55 wiz Exp $
+$NetBSD: CHANGES-2009,v 1.1151 2009/03/22 14:38:45 seb Exp $
 
 Changes to the packages collection and infrastructure in 2009:
 
@@ -1548,3 +1548,4 @@
        Updated textproc/libxml++ to 2.26.0 [wiz 2009-03-22]
        Updated meta-pkgs/c++-gnome-bindings to 2.26.0 [wiz 2009-03-22]
        Updated devel/accerciser to 1.6.0 [wiz 2009-03-22]
+       Added devel/p5-autobox version 2.55 [seb 2009-03-22]



Home | Main Index | Thread Index | Old Index