in reply to How to search string in all files in directory

Hi,
File::Find will probably help you there, but this is something that I personally would do with grep (the Unix command). It has the -r switch for recursive searches.
Regards,
svenXY
  • Comment on Re: How to search string in all files in directory

Replies are listed 'Best First'.
Re^2: How to search string in all files in directory
by JavaFan (Canon) on Dec 10, 2008 at 14:38 UTC
    Well, considering the OP only wants files from one particular directory, he doesn't need the -r option.

    But grep is still the way to go though.