Martin 'Kingpin' Thurn > WWW-Search-Ask-1.011 > WWW::Search::Ask

Download:
WWW-Search-Ask-1.011.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.011   Source  

NAME ^

WWW::Search::Ask - class for searching www.search.com

SYNOPSIS ^

  use WWW::Search;
  my $oSearch = new WWW::Search('Ask');
  my $sQuery = WWW::Search::escape_query("+sushi restaurant +Columbus Ohio");
  $oSearch->native_query($sQuery);
  while (my $oResult = $oSearch->next_result())
    { print $oResult->url, "\n"; }

DESCRIPTION ^

This class is a search.com specialization of WWW::Search. It handles making and interpreting searches at http://www.search.com.

This class exports no public interface; all interaction should be done through WWW::Search objects.

NOTES ^

The query is applied as "ALL these words" (i.e. boolean AND of all the query terms)

PRIVATE METHODS ^

In order to use this module, you do NOT need to know about these methods; they are just part of the underlying WWW::Search mechanism.

gui_query

In WWW::Search::Ask, the default query is the same as the GUI query.

strip

SEE ALSO ^

To make new back-ends, see WWW::Search.

BUGS ^

Please tell the author if you find any!

AUTHOR ^

Originally written by Martin Thurn, based loosely on the code for WWW::Search::Search.

LICENSE ^

This software is released under the same license as Perl itself.

syntax highlighting: