> Does anyone know of a perl module for pulling the actual search
> queries from search engine URLs?  It seems like writing a good regexp
> for that would be pretty tough.  The URLs vary a lot.

Don't use a regexp for this, or at least look at Regexp::Common::URI,
but first try URI, as Randal did suggest.

Won't URI and uri_split and $query give me the entire query string
instead of just the search term used?  I'm trying to pull "blue
widgets" from this string in my DB:

http://www.google.com/search?hl=en&q=blue+widgets&btnG=Google+Search

- Grant

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to