|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| 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 ( #703039=note: print w/ replies, xml ) | Need Help?? |
|
You need to use the Singleton pattern. Something like:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||