---
name: "WWW::Search::Yahoo::Classifieds::Employment"
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::Yahoo::Classifieds::Employment"
---

# WWW::Search::Yahoo::Classifieds::Employment(3pm)

WWW::Search::Yahoo::Classifieds::Employment - class for searching employment classifieds on Yahoo!

```
 use WWW::Search;
 my $oSearch = new WWW::Search('Yahoo::Classifieds::Employment');
 my $sQuery = WWW::Search::escape_query("unix c++ java");
 $oSearch->native_query($sQuery,
                        {'g' => 14,
                         'cr' => 'California'});
 while (my $res = $oSearch->next_result()) {
     my $true_url = $oSearch->getMoreInfo($res->url);
     print $res->company . "\t" . $res->title . "\t" . $res->change_date
         . "\t" . $res->location . "\t" . $true_url . "\n";
 }
```

This class is a YC specialization of WWW::Search. It handles making and interpreting YC searches at *http://careers.yahoo.com* The returned WWW::SearchResult objects contain **url**, **title**, **company**, **location** and **change\_date** fields. The returned **url** is the one found in the Yahoo! own database. However, it quite often appears in other databases where this **url** was originally taken from. To retrieve this "true" url use the function **getMoreInfo** as written in the above example. The following search options can be activated by sending a hash as the second argument to *native\_query()*.\
 **Format / Treatment of Query Terms** The default is to match ALL keywords in your query. To match ANY keywords use\
\
 **Restrict by Date** The default is to return all ads in the Yahoo ! job database. To change it use\
\
 **Restrict by Company Name**\
 Display jobs where company name matches `$pattern`.\
 **Restrict by Job Title**\
 Display jobs where job title matches `$pattern`.\
 **Restrict by Job Category** No preference by default. To select jobs from a specific job  category use the following option:\
 Category can be one of the following:\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
 **Restrict by Industry** No restriction by default. The following option is used to  select jobs from a specific industry:\
 Possible industries include:\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
 **Restrict by Location** No preference by default. The following option restrict your search to a desired location:\
 Location can be one of the following:\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
 `"WWW::Search::YC"` is originally written by Alexander Tkatchev (Alexander.Tkatchev@cern.ch). 1.02 -- patches from Rick Myers (rik@sumthin.nu) that fixes important changes in Yahoo! Classifieds search engine. Plus some fixes of my own...  1.01 -- original release 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.
