Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: single instance shared with module

by adrianh (Chancellor)
on Sep 17, 2002 at 21:28 UTC ( #198659=note: print w/replies, xml ) Need Help??


in reply to Re: single instance shared with module
in thread single instance shared with module

If you do want a singleton you might also want to consider using Class::Singleton. It makes the fact that you want a singleton nice and explicit, and allows sub-classing if necessary.

  • Comment on Re^2: single instance shared with module

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://198659]
help
Chatterbox?
Discipulus earthquake in roma..
[Corion]: Discipulus: Whoa! I hope just a minor quake
[Discipulus]: it is probably far from roma.. i hope is not another dramatic event..

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-01-18 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.