We don't bite newbies here... much | |
PerlMonks |
Re: Creating consructor new with empty $selfby pajout (Curate) |
on Oct 27, 2010 at 17:48 UTC ( [id://867805]=note: print w/replies, xml ) | Need Help?? |
I think it makes sense. For instance, consider your constructor and following getter/setter method:
-> I do not see any technical reason for initial filling. Of course, sometimes you really want to initialize it because application logic.
In Section
Seekers of Perl Wisdom
|
|