in reply to Re^2: log parserin thread log parser
check the while loop usage:
while(my $line=<$in>){ if ($line=~/eroare/i){ print "Found"; } } [download]