Don't ask to ask, just ask | |
PerlMonks |
Re: Using a log object in another object without passing it as a parameterby pc88mxer (Vicar) |
on Aug 08, 2008 at 02:54 UTC ( [id://703039]=note: print w/replies, xml ) | Need Help?? |
You need to use the Singleton pattern. Something like:
In Section
Seekers of Perl Wisdom
|
|