Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Perl-Sensitive Sunglasses
 
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-04-18 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls