Syntactic Confectionery Delight | |
PerlMonks |
Re: caching hashrefs in stateby mhearse (Chaplain) |
on Apr 22, 2014 at 22:08 UTC ( [id://1083238]=note: print w/replies, xml ) | Need Help?? |
I tend to roll even small scripts into a module. And set needed values as module attributes. These of course persist across methods. And they are only initiated once.
In Section
Seekers of Perl Wisdom
|
|