Do you know where your variables are? | |
PerlMonks |
Re^2: Making an Existing Class a Singletonby agianni (Hermit) |
on Jan 23, 2008 at 18:26 UTC ( [id://663847]=note: print w/replies, xml ) | Need Help?? |
That makes sense. I'm used to caching stuff in the object's blessed hash, but that's the wrong scope for the kind of caching that a singleton needs. It was so obvious that I missed it :)
In Section
Seekers of Perl Wisdom
|
|