SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('AltaVista::Careers');
my $sQuery = WWW::Search::escape_query("java c++)");
$oSearch->native_query($sQuery,
{'state' => 'CA'});
while (my $res = $oSearch->next_result()) {
print $res->title . "\t" . $res->change_date
. "\t" . $res->location . "\t" . $res->url . "\n";
}
DESCRIPTION
This class is a AltaVistaCareers specialization of WWW::Search. It handles making and interpreting AltaVistaCareers searches http://careers.altavista.com.The returned WWW::SearchResult objects contain url, title, location and change_date fields.
OPTIONS
The following search options can be activated by sending a hash as the second argument to native_query().The only available options are to select a specific location. The default is to search all locations. To change it use
- {'state' => $state} - Only jobs in state $state.
- {'city' => $city} - Only job in a specific $city
AUTHOR
"WWW::Search::AltaVistaCareers" is written and maintained by Alexander Tkatchev ([email protected]).LEGALESE
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.native_setup_search
This private method does the heavy lifting after native_query() is called.native_retrieve_some
This private method does the heavy lifting of communicating with the server.