http://qs1969.pair.com?node_id=597051

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Perl Monks, i am getting a list of files in an array and i want to search for a pattern inside these files without opening these files. i am greping the list but it is not grepping inside the file.
my @files = grep (/^source*/, @arr1);
The "source" is the pattern i need to find inside the files,and if it matches i need to put in another array for post processing. Thanks