Just another Perl shrine | |
PerlMonks |
Re: Self creating OO Module field accessors...by jdporter (Paladin) |
on Jan 12, 2006 at 22:32 UTC ( [id://522826]=note: print w/replies, xml ) | Need Help?? |
Avoiding direct eye-contact with your question momentarily, I point out that is very bad. It makes subclassing BigThing very difficult. It even makes code re-use by cut-and-paste more painful than it needs to be. The constructor is passed the class name; it may as well use it:
We're building the house of the future together.
In Section
Seekers of Perl Wisdom
|
|