WWW::Search::Dice

WWW::Search::Dice is a class for searching Dice.
Download

WWW::Search::Dice Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Alexander Tkatchev
  • Publisher web site:
  • http://search.cpan.org/~mthurn/WWW-Search-Jobs-2.026/lib/WWW/Search/Dice.pm

WWW::Search::Dice Tags


WWW::Search::Dice Description

WWW::Search::Dice is a class for searching Dice. WWW::Search::Dice is a class for searching Dice.SYNOPSIS use WWW::Search; my $oSearch = new WWW::Search('Dice'); my $sQuery = WWW::Search::escape_query("unix and (c++ or java)"); $oSearch->native_query($sQuery, {'method' => 'bool', 'state' => 'CA', 'daysback' => 14}); while (my $res = $oSearch->next_result()) { if(isHitGood($res->url)) { my ($company,$title,$date,$location) = $oSearch->getMoreInfo($res->url); print "$company $title $date $location " . $res->url . "n"; } } sub isHitGood {return 1;}This class is a Dice specialization of WWW::Search. It handles making and interpreting Dice searches at http://www.dice.com.By default, returned WWW::SearchResult objects contain only url, title and description which is a mixture of location and skills wanted. Function getMoreInfo( $url ) provides more specific info - it has to be used as my ($company,$title,$date,$location) = $oSearch->getMoreInfo($res->url);Requirements:· Perl Requirements: · Perl


WWW::Search::Dice Related Software