r7753@Thesaurus: rabbit | 2009-09-29 13:45:02 +0200
[p5sagit/Class-Accessor-Grouped.git] / README
diff --git a/README b/README
index 77cd081..2c22a31 100644 (file)
--- a/README
+++ b/README
@@ -17,6 +17,10 @@ METHODS
     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 methods.
+
     @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 ].
@@ -101,9 +105,9 @@ METHODS
     Gets the value of the specified component class.
 
         __PACKAGE__->mk_group_accessors('component_class' => 'result_class');
-    
+
         $self->result_class->method();
-    
+
         ## same as
         $self->get_component_class('result_class')->method();
 
@@ -117,7 +121,7 @@ METHODS
 
         __PACKAGE__->mk_group_accessors('component_class' => 'result_class');
         __PACKAGE__->result_class('MyClass');
-    
+
         $self->result_class->method();
 
   get_super_paths
@@ -128,6 +132,10 @@ AUTHORS
     Matt S. Trout <mst@shadowcatsystems.co.uk> Christopher H. Laco
     <claco@chrislaco.com>
 
+    With contributions from:
+
+    Guillermo Roditi <groditi@cpan.org>
+
 LICENSE
     You may distribute this code under the same terms as Perl itself.