in reply to How to create a singleton class ?

Well, you can't inherit from that. If someone calls the subclass, they get this method, and it plugs your singleton for the parent class. Ouch.

A package is already a singleton. Just make all your methods be class methods, and return $class instead of trying to bless something.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.