in reply to Opening multiple log files
running on an uninitialized array, so this for loop will not do anything.for my $filename (@list_files)
Then you have this:
Filenames should be scalars, not arrays.@output = $timestamp .'.sql'; open(my $fh, '>', @output) or die "Could not create file '@output': $! +";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Opening multiple log files
by hahazeeq (Novice) on Jun 15, 2015 at 07:01 UTC | |
by marinersk (Priest) on Jun 15, 2015 at 16:47 UTC |