Martin 'Kingpin' Thurn > WWW-Search-2.513 > WWW::Search::Null::Error

Download:
WWW-Search-2.513.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.012   Source  

NAME ^

WWW::Search::Null::Error - class for testing WWW::Search clients

SYNOPSIS ^

  require WWW::Search;
  my $oSearch = new WWW::Search('Null::Error');
  $oSearch->native_query('Makes no difference what you search for...');
  $oSearch->retrieve_some();
  my $oResponse = $oSearch->response;
  # You get an HTTP::Response object with a code of 500

DESCRIPTION ^

This class is a specialization of WWW::Search that only returns an error message.

This module might be useful for testing a client program without actually being connected to any particular search engine.

AUTHOR ^

Martin 'Kingpin' Thurn, mthurn at cpan.org, http://tinyurl.com/nn67z.

syntax highlighting: