I am using the Log::LogLite module to facilitate application logging in my script. Log::LogLite works like this: #create new Log::LogLite object $log = new Log::LogLite($file, $ERROR_LOG_LEVEL); $log->write("$string", $level); I have written a module that has two subroutines, LogInit and LogWrite. In the LogInit routine, I am currently not returning a reference to the $log object. The fact that the LogWrite subroutine is in the same module as LotInit, it seems that the $log object is still valid when I call LogWrite. Now I want to use my functions to open multiple logs, and so I need to return a reference to the $log object back to the caller such that I can pass it back into the LogWrite routine. I so far have been unsuccessful at doing this. Whenever I return $log, it is undefined in the calling module. Any suggestions??? Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]