more useful options | |
PerlMonks |
Logger object access to different modulesby perlpal (Scribe) |
on Aug 17, 2010 at 07:39 UTC ( [id://855420]=perlquestion: print w/replies, xml ) | Need Help?? |
perlpal has asked for the wisdom of the Perl Monks concerning the following question:
Hi PerlMonks,
I am writing a tool which basically consists of a driver file and a few modules.The modules are in effect implemented as Classes. One of the modules is a Log Initializer module implemented using Log4Perl .This modules has a method that returns a logger object to the caller. The driver file invokes this method. How can i make the logger object available to the other modules without explicitly passing it as a parameter in method calls to the corresponding modules ? Appreciate your assistance!
Back to
Seekers of Perl Wisdom
|
|