Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: lazy creation of a hashby scorpio17 (Canon) |
on May 12, 2011 at 13:26 UTC ( [id://904399]=note: print w/replies, xml ) | Need Help?? |
Instead of a global hash, consider creating a singleton object having get() and set() methods.
In Section
Seekers of Perl Wisdom
|
|