There's more than one way to do things | |
PerlMonks |
Re: Automatic vivification of an objectby Your Mother (Archbishop) |
on Jan 14, 2015 at 03:48 UTC ( [id://1113180]=note: print w/replies, xml ) | Need Help?? |
I suggesting reviewing this thread too: Object method prototypes?. Moo/Moose/Mouse all let you defer every aspect of attribute instantiation already and Mouse (and maybe Moo) is likely going to be faster than anything using $AUTOLOAD.
In Section
Seekers of Perl Wisdom
|
|