in reply to Re^6: Using grep to pick out Specific lines in a text file
in thread Using grep to pick out Specific lines in a text file

Instead of

print join( "|", keys %found), "\n";

try

for my $key (keys %found) ( print "$key: $found{$key}\n"; }

Replies are listed 'Best First'.
Re^8: Using grep to pick out Specific lines in a text file
by itguy87 (Novice) on Apr 18, 2013 at 13:52 UTC

    added that and it comes back blank

      There is a ( where it should be a {.