| CPAN Ratings Class-Singleton reviews | |
| Home | Search | About | Bitcard Account | Login |
RSS | Module Info | Add a review of Class-Singleton
Love the idea. It seems, though, that all but the most trivial of classes would have to override _new_instance (if only to call their own constructor). At that point, ease-of-use begins to slip and I may as well manage the singleton member myself. I suggest having Class::Singleton call the constructor directly ($class->new) when creating a new instance.
Evan Haas - 2011-03-25T06:59:54
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|