1WWW::Search::Null::EmptUys(e3r)Contributed Perl DocumentWaWtWi:o:nSearch::Null::Empty(3)
2
3
4
6 WWW::Search::Null::Empty - class for testing WWW::Search clients
7
9 use WWW::Search;
10 my $oSearch = new WWW::Search('Null::Empty');
11 $oSearch->native_query('Makes no difference what you search for...');
12 my @aoResults = $oSearch->results;
13 # You get no results...
14 my $oResponse = $oSearch->response;
15 # ...But you get an HTTP::Response object with a code of 200
16
18 This class is a specialization of WWW::Search that returns no hits, but
19 no error message.
20
21 This module might be useful for testing a client program without
22 actually being connected to any particular search engine.
23
25 Martin Thurn <mthurn@cpan.org>
26
27
28
29perl v5.12.0 2010-05-07 WWW::Search::Null::Empty(3)