Query: www::search::null::empty
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WWW::Search::Null::Empty(3pm) User Contributed Perl Documentation WWW::Search::Null::Empty(3pm)NAMEWWW::Search::Null::Empty - class for testing WWW::Search clientsSYNOPSISuse 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 200DESCRIPTIONThis 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.AUTHORMartin 'Kingpin' Thurn, "mthurn at cpan.org", <http://tinyurl.com/nn67z>. perl v5.12.4 2011-10-25 WWW::Search::Null::Empty(3pm)