in reply to Re^3: trouble parsing log file...
in thread trouble parsing log file...
and here...$logfile="log.txt";
Can you see?if ($logfile =~ /$error/i) {
I think you want:
while (my $line = <LOG>) { if ($line =~ /$error/i) { etc....
Cheers,
Darren :)
|
|---|