1WWW::Search::Null::ErroUrs(e3r)Contributed Perl DocumentWaWtWi:o:nSearch::Null::Error(3)
2
3
4
6 WWW::Search::Null::Error - class for testing WWW::Search clients
7
9 require WWW::Search;
10 my $oSearch = new WWW::Search('Null::Error');
11 $oSearch->native_query('Makes no difference what you search for...');
12 $oSearch->retrieve_some();
13 my $oResponse = $oSearch->response;
14 # You get an HTTP::Response object with a code of 500
15
17 This class is a specialization of WWW::Search that only returns an
18 error message.
19
20 This module might be useful for testing a client program without
21 actually being connected to any particular search engine.
22
24 Martin 'Kingpin' Thurn, "mthurn at cpan.org",
25 <http://tinyurl.com/nn67z>.
26
27
28
29perl v5.32.1 2021-01-27 WWW::Search::Null::Error(3)