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!

  • Comment on Logger object access to different modules

Replies are listed 'Best First'.
Re: Logger object access to different modules
by murugu (Curate) on Aug 17, 2010 at 09:14 UTC
Re: Logger object access to different modules
by Anonymous Monk on Aug 17, 2010 at 08:28 UTC