From: Florian Ragwitz Date: Thu, 23 Apr 2009 19:38:22 +0000 (+0200) Subject: Fix doc typos in SYNOPSIS. X-Git-Tag: 0.00802~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5e2dfe0a3e5d99f248bbf30df7cd40878fe83f03;p=gitmo%2FMooseX-Emulate-Class-Accessor-Fast.git Fix doc typos in SYNOPSIS. Closes RT#40380. --- diff --git a/Changes b/Changes index 10e5640..1ca5abd 100644 --- 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. diff --git a/lib/MooseX/Emulate/Class/Accessor/Fast.pm b/lib/MooseX/Emulate/Class/Accessor/Fast.pm index 120e4c6..4047c0d 100644 --- a/lib/MooseX/Emulate/Class/Accessor/Fast.pm +++ b/lib/MooseX/Emulate/Class/Accessor/Fast.pm @@ -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