---
name: "WWW::Search::Monster"
section: "3pm"
platform: "linux"
package: "libwww-search-perl"
version: "2.24-3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/WWW::Search::Monster"
---

# WWW::Search::Monster(3pm)

WWW::Search::Monster - class for searching Monster

```
 use WWW::Search;
 my $oSearch = new WWW::Search('Monster');
 my $sQuery = WWW::Search::escape_query("unix and (c++ or java)");
 $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** No restriction by default.\
 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.\
 **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:\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
 `"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.
