http://www.perlmonks.org?node_id=486105

jbullock35 has asked for the wisdom of the Perl Monks concerning the following question:

I want end users to search some texts I have via a CGI tool. And I want them to be able to query the texts as they would query the web with Google. In other words, I want to take a string that a user passes—a string that obeys the rules established at http://www.google.com/help/basics.html, or at least the most basic of those rules—and use it to query a set of texts. When that's done, I'll present the user with all the texts that matched the query.

The catch is that my texts don't exist in discrete files. So I can't simply have Google index them and provide my end users with the Google search results.

As far as I can tell, I have two options. I can roll my own code. Or I can use Text::Query. Are there any other modules I might use?

Thanks,
--John