I had a need to use Class::Singleton so I installed it without any problems.
It did what I needed just fine.

Then I went to look at the code to see what it actually did. Now, I'll never
claim to be a perl guru, but I do understand perl quite well.....at least I
thought so !!

How the heck does Class::Singleton do it's voodoo ?? I understand that the
instance() method looks for a reference to the _instance variable in the
proper package. If it is there, it just returns it, otherwise it calls
_new_instance to create an object of the proper class. BUT, where does the
_instance variable ever get created within the proper package namespace ???

Feeling stupid....
Andy Levine



Reply via email to