WWW::Search::AltaVista::Careers - class for searching www.altavistacareers.com
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";
}
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.
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
"WWW::Search::AltaVistaCareers" is written and
maintained by Alexander Tkatchev (Alexander.Tkatchev@cern.ch).
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.
This private method does the heavy lifting after native_query() is
called.
This private method does the heavy lifting of communicating with the server.