go ahead... be a heretic | |
PerlMonks |
Re: Self creating OO Module field accessors...by Corion (Patriarch) |
on Jan 12, 2006 at 22:37 UTC ( [id://522829]=note: print w/replies, xml ) | Need Help?? |
Inheriting from Class::Accessor gives you the mk_accessors method:
Class::Accessor has the shortcoming that its constructor wants to be passed a hash reference. So you need to either override the default constructor or live with that.
In Section
Seekers of Perl Wisdom
|
|