Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Singletons and Inheritanceby gellyfish (Monsignor) |
on Jul 20, 2004 at 11:13 UTC ( [id://375870]=note: print w/replies, xml ) | Need Help?? |
You might want to check out the code for Class::Singleton which keeps the instance in a package variable for each sub-class, it also gives you the flexibility of how you create each sub-classes instances. /J\
In Section
Seekers of Perl Wisdom
|
|