Just another Perl shrine | |
PerlMonks |
Re: Creating 'universal' instances of objects?by bm (Hermit) |
on Aug 04, 2003 at 15:27 UTC ( [id://280704]=note: print w/replies, xml ) | Need Help?? |
Sounds to me that Class::Singleton is exactly what you are after. Deriving from that class will ensure that only one instance of your class will be returned:
Hope this helps.
In Section
Seekers of Perl Wisdom
|
|