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.
|
|---|