in reply to Re^4: pattern search in all the files in a directoryin thread pattern search in all the files in a directory
open my $fh, "<", $file_name or die "can't open file: $!"; while(<$fh>){ chomp; ... } ... [download]