Take a look at Log::Log4Perl package. A more powerful kind of log objects (known as Loggers) are shared by name across multiple modules making unnecessary to pass them as parameters.
A good overview can be read at http://www.perl.com/pub/a/2002/09/11/log4perl.html
Regards,
Adriano
On Tue, 14 Jan 2003 18:01:59 -0500, HENRY,MARK (HP-Roseville,ex1)
Is there any easier way to share a common log file (filehandle) among many
functions in a script (using strict) other than by passing a reference to it
to each function in question? Worth the work, just tedious..
-- Adriano -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]