WWW::Search::Null::Empty - class for testing WWW::Search clients
require WWW::Search; my $oSearch = new WWW::Search('Null::Empty'); $oSearch->native_query('Makes no difference what you search for...'); my @aoResults = $oSearch->results; # You get no results... my $oResponse = $oSearch->response; # ...But you get an HTTP::Response object with a code of 200
This class is a specialization of WWW::Search that returns no hits, but no error message.
This module might be useful for testing a client program without actually being connected to any particular search engine.
Martin Thurn <mthurn@cpan.org>
To install , copy and paste the appropriate command in to your terminal.
cpanm
cpanm MTHURN/WWW-Search-2.486.tar.gz
CPAN shell
perl -MCPAN -e shell install MTHURN/WWW-Search-2.486.tar.gz
For more information on module installation, please visit the detailed CPAN module installation guide.