go ahead... be a heretic | |
PerlMonks |
Re^4: Good practice for OO module defaultsby tobyink (Canon) |
on Apr 10, 2019 at 14:02 UTC ( [id://1232402]=note: print w/replies, xml ) | Need Help?? |
Sure, if an attribute's default value is going to be based on other attributes, then make it a lazy default. For most people, that's a minority of attributes though.
In Section
Seekers of Perl Wisdom
|
|