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.
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. Thanksmy @files = grep (/^source*/, @arr1);