GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WWW::SEARCH::NULL::COUNT (3)

.ds Aq ’

NAME

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

CONTENTS

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>.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WWW::SEARCH::NULL::COUNT (3) 2015-11-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.