in reply to Scope of Filehandle inside Subroutine?
Also it's highly recommended to check open result. Like this:
open my $fh, ">>", "/my/directory/logfile-" . $split[0] or die $!; #op +en our new daily file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Scope of Filehandle inside Subroutine?
by SituationSoap (Acolyte) on Aug 03, 2009 at 12:38 UTC |