[Bast-commits] r3884 - trunk/Class-Accessor-Grouped/lib/Class/Accessor

matthewt at dev.catalyst.perl.org matthewt at dev.catalyst.perl.org
Fri Nov 16 14:05:03 GMT 2007

Author: matthewt
Date: 2007-11-16 14:04:32 +0000 (Fri, 16 Nov 2007)
New Revision: 3884

doc patch from abraxxa

Modified: trunk/Class-Accessor-Grouped/lib/Class/Accessor/Grouped.pm
--- trunk/Class-Accessor-Grouped/lib/Class/Accessor/Grouped.pm	2007-11-15 15:05:12 UTC (rev 3883)
+++ trunk/Class-Accessor-Grouped/lib/Class/Accessor/Grouped.pm	2007-11-16 14:04:32 UTC (rev 3884)
@@ -38,6 +38,10 @@
 $group is the name of the accessor group for the generated accessors; they
 will call get_$group($field) on get and set_$group($field, $value) on set.
+If you want to mimic Class::Accessor's mk_accessors $group has to be 'simple'
+to tell Class::Accessor::Grouped to use its own get_simple and set_simple
 @fieldspec is a list of field/accessor names; if a fieldspec is a scalar
 this is used as both field and accessor name, if a listref it is expected to
 be of the form [ $accessor, $field ].

More information about the Bast-commits mailing list