WWW::Search::Brassring - class for searching http://www.Brassring.com/jobsearch
use WWW::Search; my $oSearch = new WWW::Search('Brassring'); my $sQuery = WWW::Search::escape_query("java"); $oSearch->native_query($sQuery, {'city' => 'San Diego', 'st' => 'CA', 'prox' => '10', # proximity to 'city', 10, 25, 50 miles 'pp' => 10}); # hits per page, 10, 25, 50
while (my $res = $oSearch->next_result()) { print "$res->{url} $res->{title} $res->{change_date} $res->{description}\n";
}
This class is a Brassring specialization of WWW::Search. It handles making and interpreting Brassring searches at http://www.brassring.com/jobsearch.
By default, returned WWW::SearchResult objects contain only url, title and description which is a mixture of location and skills wanted.
{'q' => 'programmer'}
The following search options can be activated by sending a hash as the second argument to native_query().
{'ctry' => 'United States'}
Sort by relevance: {'like' => 'likep'}
Sort by posting date: {'like' => 'like'}
{'st' => $st} - Only jobs in st $st.
WWW::Search::Brassring was written by Wayne Rogers (wayers@eskimo.com) based on the work of Alexander Tkatchev. (Alexander.Tkatchev@cern.ch).
WWW::Search::Brassring
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::Dice, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search::Dice
CPAN shell
perl -MCPAN -e shell install WWW::Search::Dice
For more information on module installation, please visit the detailed CPAN module installation guide.