in reply to "Global" filehandle without using global variables

IMO, the better approach would be to use Log::Log4perl http://search.cpan.org/~mschilli/Log-Log4perl-1.37/lib/Log/Log4perl.pm
  • Comment on Re: "Global" filehandle without using global variables