Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Share data among different packages

by Anonymous Monk
on Dec 22, 2010 at 13:49 UTC ( #878528=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://878528]
help
Chatterbox?
NodeReaper selects a flavor of Kool-Aid

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-11-25 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (355 votes). Check out past polls.

    Notices?