in reply to Re^3: Getting Filenames that contains a particular string recursively From a Directory
in thread Getting Filenames that contains a particular string recursively From a Directory

I'm not sure if I understand what you mean. Do you want to gather those filenames into an array, say @results? Well, if so then you just have to substitute a print with a

(push @results, $_)
  • Comment on Re^4: Getting Filenames that contains a particular string recursively From a Directory
  • Select or Download Code