in reply to
Share data among different packages
Use a special global, called a
singleton
, its what everyone does, for example, see
Log::Log4perl
Why
Log::Log4perl->get_logger
and not
Log::Log4perl->new
?
Comment on
Re: Share data among different packages
In Section
Seekers of Perl Wisdom