Martin 'Kingpin' Thurn > WWW-Search-Jobs-2.028 > WWW::Search::Brassring

Download:
WWW-Search-Jobs-2.028.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.004   Source  

NAME ^

WWW::Search::Brassring - class for searching http://www.Brassring.com/jobsearch

SYNOPSIS ^

 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";

     }

DESCRIPTION ^

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.

OPTIONS ^

Query on Keywords, Title or Company

{'q' => 'programmer'}

The following search options can be activated by sending a hash as the second argument to native_query().

Restrict search by country

{'ctry' => 'United States'}

Sort jobs found

Sort by relevance: {'like' => 'likep'}

Sort by posting date: {'like' => 'like'}

Restrict jobs found by state (US)

{'st' => $st} - Only jobs in st $st.

AUTHOR ^

WWW::Search::Brassring was written by Wayne Rogers (wayers@eskimo.com) based on the work of Alexander Tkatchev. (Alexander.Tkatchev@cern.ch).

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.

syntax highlighting: