File Search Engine

Simple project, a text file search engine. I would like a perl sub that takes as an input a directory name, a search string (or list or whatever), and a flag that indicates whether or not to traverse sub directories. It must return a list for each file that matches the criterion of the search string containing the file name and the file path.

I am looking for something where the search can be, for example, look for all files containting ((fish && trout) || fred), i.e. some sort of logical search condition where you can have some complex combination of words present in the file.

It needs to be fast.

I would like a small cgi script and html page that I can use to test it, all I need to do is edit where the script is to search. It should have documentation that describes how the sub works and how to use it.

In summary I need the sub, a script to test it with, and documentation on how it works and how to use it.

Taidot: Perl, Verkkosivujen suunnittelu

Tietoa asiakkaasta:
( 0 arvostelua ) Henderson, United States

Projektin tunnus: #3699