in reply to new file per line output
try:foreach $line (<LOGFILE>)
while (my $line = <LOGFILE>)
There are many other problems in your script, but that's probably why you're not looping as you want on the file lines.
EDIT: davido said it all and still succeeded to post one minute before me. ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: new file per line output
by davido (Cardinal) on Dec 31, 2013 at 18:51 UTC | |
by Laurent_R (Canon) on Dec 31, 2013 at 21:55 UTC |