in reply to Re^2: Passing filename to Log::Std
in thread Passing filename to Log::Std
Use require and import(), not use if you're going to do it that way. As soon as the Perl parser finishes parsing the use statement, it runs it. This happens before StartLogging even finishes compiling, and much before anything calls the subroutine.
|
|---|