WWW::Search::Monster - class for searching Monster
use WWW::Search;
my $oSearch = new WWW::Search('Monster');
my $sQuery = WWW::Search::escape_query("perl and (perl or perl)");
$oSearch->native_query($sQuery,
{'st' => 'CA',
'tm' => '14d'});
while (my $res = $oSearch->next_result()) {
print $res->company . "\t" . $res->title . "\t" . $res->change_date
. "\t" . $res->location . "\t" . $res->url . "\n";
}
This class is a Monster specialization of WWW::Search. It handles making and interpreting Monster searches at http://www.monster.com. Monster supports Boolean logic with "and"s "or"s. See http://jobsearch.monster.com/jobsearch_tips.asp for a full description of the query language.
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().
- Restrict by Location
-
use {'lid' => $location_id}
Only jobs in $location_id. To find out what $location_id you need, please look at the source of http://jobsearch.monster.com. Note that $location_id does not mean the area telephone code. The default is no location restriction.
- Restrict by Job Category
-
Use {'fn' => $cat_id} to select one or more job categories you want. For multiple selection use a '+' sign, e.g. {'fn' => '1+2'}. Possible categories are:
- 1 Accounting/Auditing
- 2 Administrative and Support Services
- 8 Advertising/Marketing/Public Relations
- 5620 Aerospace/Aviation/Defense
- 540 Agriculture, Forestry, & Fishing
- 9004 Airlines
- 541 Architectural Services
- 12 Arts, Entertainment, and Media
- 576 Banking
- 46 Biotechnology and Pharmaceutical
- 3979 Building and Grounds Maintenance
- 8125 Business Opportunity/Investment Required
- 8126 Career Fairs
- 9005 Computer Services
- 543 Computers, Hardware
- 6 Computers, Software
- 544 Construction, Mining and Trades
- 546 Consulting Services
- 5622 Consumer Products
- 545 Customer Service and Call Center
- 3 Education, Training, and Library
- 7305 Electronics
- 547 Employment Placement Agencies
- 5624 Energy/Utilities
- 4 Engineering
- 9002 Environmental Services
- 3561 Executive Management
- 548 Finance/Economics
- 549 Financial Services
- 550 Government and Policy
- 7306 Healthcare - Business Office & Finance
- 2947 Healthcare - CNAs/Aides/MAs/Home Health
- 3972 Healthcare - Laboratory/Pathology Services
- 2963 Healthcare - LPNs & LVNs
- 2990 Healthcare - Medical & Dental Practitioners
- 3007 Healthcare - Medical Records, Health IT & Informatics
- 9014 Healthcare - Optical
- 551 Healthcare, Other
- 3973 Healthcare - Pharmacy
- 3974 Healthcare - Radiology/Imaging
- 3975 Healthcare - RNs & Nurse Management
- 3976 Healthcare - Social Services/Mental Health
- 3977 Healthcare - Support Services
- 3978 Healthcare - Therapy/Rehab Services
- 552 Hospitality/Tourism
- 5 Human Resources/Recruiting
- 660 Information Technology
- 553 Installation, Maintenance, and Repair
- 45 Insurance
- 554 Internet/E-Commerce
- 555 Law Enforcement, and Security
- 7 Legal
- 47 Manufacturing and Production
- 556 Military
- 542 Nonprofit
- 9010 Operations Management
- 11 Other
- 557 Personal Care and Service
- 9007 Product Management
- 9008 Project/Program Management
- 5623 Publishing/Printing
- 7307 Purchasing
- 558 Real Estate
- 13 Restaurant and Food Service
- 44 Retail/Wholesale
- 10 Sales
- 9009 Sales - Account Management
- 9011 Sales - Telemarketing
- 5957 Sales - Work at Home/Commission Only
- 559 Science
- 560 Sports and Recreation/Fitness
- 5625 Supply Chain/Logistics
- 561 Telecommunications
- 9013 Textiles
- 562 Transportation and Warehousing
- 9003 Veterinary Services
- 9006 Waste Management Services
WWW::Search::Monster 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.