Fix doc typos in SYNOPSIS.
Florian Ragwitz [Thu, 23 Apr 2009 19:38:22 +0000 (21:38 +0200)]
Closes RT#40380.

Changes
lib/MooseX/Emulate/Class/Accessor/Fast.pm

diff --git a/Changes b/Changes
index 10e5640..1ca5abd 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+          - Fix doc typos in SYNOPSIS. Closes RT#40380. (rafl)
+
 0.00801    Apr 09, 2009
           - Make the accessor meta method class compatible with recent Moose.
           - Stop using deprecated Moose api to avoid warnings.
index 120e4c6..4047c0d 100644 (file)
@@ -23,9 +23,9 @@ MooseX::Emulate::Class::Accessor::Fast - Emulate Class::Accessor::Fast behavior
     #fields with readers and writers
     __PACKAGE__->mk_accessors(qw/field1 field2/);
     #fields with readers only
-    __PACKAGE__->mk_accessors(qw/field3 field4/);
+    __PACKAGE__->mk_ro_accessors(qw/field3 field4/);
     #fields with writers only
-    __PACKAGE__->mk_accessors(qw/field5 field6/);
+    __PACKAGE__->mk_wo_accessors(qw/field5 field6/);
 
 
 =head1 DESCRIPTION