Hello monks,
I am trying to write a perl script which takes a list of strings from a file as input and searches each string in all the files in a directory and Prints the name of the file which contains that string.
The list contains normally 300 strings and the directory contains around 4000 files. So it is taking a lot of time to run.
Is there any way to index the directory and search through perl so that the search becomes fast???