WWW::Search::GoTo - class for searching GoTo.com
require WWW::Search; $search = new WWW::Search('GoTo');
This class is an GoTo specialization of WWW::Search. It handles making and interpreting GoTo searches www-GoTo.com.
Nothing special about GoTo: no search options. It is much like Google in that it attempts to returm relavent search results using simple queries.
This class exports no public interface; all interaction should be done through WWW::Search objects.
Uses result field $result->source which is helpful with this engine because the the URL is owner encoded. $result->source will display a plain base URL address and should be called after $result->description
To make new back-ends, see WWW::Search.
native_setup_search is called before we do anything. It initializes our private variables (which all begin with underscores) and sets up a URL to the first results page in {_next_url}.
native_setup_search
{_next_url}
native_retrieve_some is called (from WWW::Search::retrieve_some) whenever more hits are needed. It calls the LWP library to fetch the page specified by {_next_url}. It parses this page, appending any search hits it finds to {cache}. If it finds a ``next'' button in the text, it sets {_next_url} to point to the page for the next set of results, otherwise it sets it to undef to indicate we're done.
native_retrieve_some
WWW::Search::retrieve_some
{cache}
WWW::Search::GoTo is written by Jim Smyser Author e-mail <jsmyser@bigfoot.com>
WWW::Search::GoTo
Copyright (c) 1996-1999 University of Southern California. All rights reserved.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install WWW::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search
CPAN shell
perl -MCPAN -e shell install WWW::Search
For more information on module installation, please visit the detailed CPAN module installation guide.