WWW::Search::AOL::Classifieds::Employment - class for searching Jobs Classifieds on AOL
use WWW::Search; my $oSearch = new WWW::Search('Aol'); my $sQuery = WWW::Search::escape_query("unix c++ java"); $oSearch->native_query($sQuery, {'qcqs' => ':ca:'}); while (my $res = $oSearch->next_result()) { print $res->company . "\t" . $res->title . "\t" . $res->change_date . "\t" . $res->location . "\n"; }
This class is a Aol specialization of WWW::Search. It handles making and interpreting Aol searches at http://classifiedplus.aol.com in category employment->JobSearch.
The returned WWW::SearchResult objects contain url, title, company, location and change_date fields.
The following search options can be activated by sending a hash as the second argument to native_query().
The default is to match ALL keywords in your query.
No restriction by default. To select jobs from a specific job category use the following option:
Possible values of $job_category are the following:
10 Accounting/Finance/Banking/Insurance
20 Administrative/Clerical
30 Creative Arts/Media
40 Education/Training
50 Engineering/Architecture/Design
60 Human resources
70 Information Technology/Computer
80 Legal/Law Enforcement/Security
90 Marketing/Public relations/Advertising
100 Medical/Heath Care/Dental
110 Online/Internet/New Media
120 Sales/Customer Service/Sales Management
130 Sports
140 Travel/Hospitality/Restaurant/Transportation
150 Other
Display jobs where company name matches $pattern.
No preference by default. Several options can restrict your search. Only one of the below listed options can be enabled at a time.
Regions can be:
1 Mid-Atl
2 Midwest
3 Northeast
4 Northwest
5 Southeast
6 Southwest
7 West
8 Outside USA
9999 National
There are too many possible values to be listed here. See http://classifiedplus.aol.com in category employment->JobSearch for a full list. Here are some examples from that list: to select jobs only from California use {'qcqs' => ':ca:'}, for jobs from San Fransisco use {'qcqs' => 'san francisco:ca:807'}.
WWW::Search::Aol is written and maintained by Alexander Tkatchev (Alexander.Tkatchev@cern.ch).
WWW::Search::Aol
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.