Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Making an Existing Class a Singleton

by agianni (Hermit)
on Jan 23, 2008 at 18:26 UTC ( #663847=note: print w/ replies, xml ) Need Help??


in reply to Re: Making an Existing Class a Singleton
in thread Making an Existing Class a Singleton

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 :)

perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79 +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'


Comment on Re^2: Making an Existing Class a Singleton
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://663847]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-07-30 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls