in reply to Re^2: log parser
in thread log parser
Now you read the whole file into $a (which can be done more efficiently) but what you want is something like
while (<$in>) { # assigns each line in turn to $_ #print "Just read in this line: $_"; if( /eroare/ ) { # checks $_ print; } }
In Section
Seekers of Perl Wisdom