WWW::Search::Null::Count(3pm) - phpMan

Command: man perldoc info search(apropos)  


WWW::Search::Null::Count(3pm)  User Contributed Perl Documentation  WWW::Search::Null::Count(3pm)

NAME
       WWW::Search::Null::Count - class for testing WWW::Search clients

SYNOPSIS
         use WWW::Search;
         my $iCount = 4;
         my $oSearch = new WWW::Search('Null::Count',
                                       '_null_count' => $iCount,
                                      );
         $oSearch->native_query('Makes no difference what you search for...');
         my @aoResults = $oSearch->results;
         # ...You get $iCount results.

DESCRIPTION
       This class is a specialization of WWW::Search that returns some hits, but no error
       message.  The number of hits returned can be controlled by adding a '_null_count' hash
       entry onto the call to WWW::Search::new().  The default is 5.

       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>.

perl v5.28.0                                2018-11-25              WWW::Search::Null::Count(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-20 00:52 @3.135.198.49 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!