in reply to parsing a directory of log files.

foreach my $line (@file_lines) { chomp(); my $match_count=()=($line=~/Memphis/g);

two observations:

HTH, Rata