---
name: "WWW::Search::Brassring"
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::Brassring"
---

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

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

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

```
     }
```

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.\
 **Job Query**\
 {'q' =\> 'programmer'} The following search options can be activated by sending a hash as the second argument to *native\_query()*.\
 **Query options**\
 {'ctry' =\> 'United States'}\
 Sort by relevance {'like' =\> 'likep'}

Sort by posting date {'like' =\>  'like'}\
 {'st' =\> `$st`} - Only jobs in st `$st`.\
 {'search\_debug' =\> -1} `"WWW::Search::Brassring"` was written by Wayne Rogers (wayers@eskimo.com)  based  on the work of 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.
