Query: www::search::null::count
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WWW::Search::Null::Count(3pm) User Contributed Perl Documentation WWW::Search::Null::Count(3pm)NAMEWWW::Search::Null::Count - class for testing WWW::Search clientsSYNOPSISuse 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.DESCRIPTIONThis 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.AUTHORMartin 'Kingpin' Thurn, "mthurn at cpan.org", <http://tinyurl.com/nn67z>. perl v5.12.4 2011-10-25 WWW::Search::Null::Count(3pm)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Is UNIX an open source OS ? |
Introduction |
Find columns in a file based on header and print to new file |
New UNIX and Linux History Sections |