WWW::Search::Search - class for searching www.search.com
use WWW::Search; my $oSearch = new WWW::Search('Search'); my $sQuery = WWW::Search::escape_query("+sushi restaurant +Columbus Ohio"); $oSearch->native_query($sQuery); while (my $oResult = $oSearch->next_result()) { print $oResult->url, "\n"; }
This class is a search.com specialization of WWW::Search. It handles making and interpreting searches at http://www.search.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
In order to use this module, you do NOT need to know about these methods; they are just part of the underlying WWW::Search mechanism.
In WWW::Search::Search, the default query is the same as the GUI query.
To make new back-ends, see WWW::Search.
Please tell the author if you find any!
WWW::Search::Search was originally written by Martin Thurn, based loosely on the code for WWW::Search::Lycos.
WWW::Search::Search
WWW::Search::Lycos
This software is released under the same license as Perl itself.
To install WWW::Search::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search::Search
CPAN shell
perl -MCPAN -e shell install WWW::Search::Search
For more information on module installation, please visit the detailed CPAN module installation guide.