in reply to
Re: Making an Existing Class a Singleton
in thread
Making an Existing Class a Singleton
If you use perl 5.10 (or want to start thinking in that direction) the variable
$singleton
is a perfect candidate for a
state
variable.
Comment on
Re^2: Making an Existing Class a Singleton
Select
or
Download
Code
In Section
Seekers of Perl Wisdom