Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: single instance shared with module

by sauoq (Abbot)
on Sep 16, 2002 at 21:12 UTC ( [id://198373]=note: print w/replies, xml ) Need Help??


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

A singleton class makes sense only if you never want more than one instance of the class to exist. If you just need to share an instance, there is nothing stopping you from doing so and allowing multiple instances if you need them.

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Re: single instance shared with module

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-23 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found