Skip to content

Commit

Permalink
fix pod
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Feb 14, 2011
1 parent d523001 commit 397618c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Class/Accessor/Lite.pm
Expand Up @@ -301,7 +301,7 @@ DEPRECATED. Use the new "use Class::Accessor::Lite (...)" style.
=head2 Can I use C<Class::Accessor::Lite> in an inherited module?
Yes in most cases, when the class object in the super class is implemeted using a hashref. However you _should_ _not_ create the constructor for the inherited class by calling C<Class::Accessor::Lite->new()> or by C<use Class::Accessor::Lite (new => 1). The only other thing that C<Class::Accessor::Lite> does is to set up the accessor functions for given property names through a blessed hashref.
Yes in most cases, when the class object in the super class is implemeted using a hashref. However you _should_ _not_ create the constructor for the inherited class by calling C<<Class::Accessor::Lite->new()>> or by C<<use Class::Accessor::Lite (new => 1)>>. The only other thing that C<Class::Accessor::Lite> does is to set up the accessor functions for given property names through a blessed hashref.
=head2 What happens when passing more than one arguments to the accessor?
Expand Down

0 comments on commit 397618c

Please sign in to comment.