Rechercher une page de manuel
WWW::Search::Null::Empty.3pm
Langue: en
Version: 2009-02-27 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
WWW::Search::Null::Empty - class for testing WWW::Search clientsSYNOPSIS
use 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
DESCRIPTION
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.
AUTHOR
Martin Thurn <mthurn@cpan.org>Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre