WWW::S...:Empty(3pm)

📦
version 2.51.90+~cs6.78 · 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

WWW::Search::Null::Empty — bestie, this is the class for testing WWW::Search clients, and it’s giving “User Contributed Perl Documentation” realness on the WWW::Search::Null::Empty(3pm) page 💅

🌸 SYNOPSIS 🌸

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 🦋

Okay so this class is a specialization of WWW::Search that returns no hits, but no error message either. Iconic behavior, honestly ✨

It might be useful for testing a client program without actually being connected to any particular search engine. Like, it’s the main character of “pretend search engine” vibes — no results, but also no drama 😌

🎀 AUTHOR 🎀

Written by Martin 'Kingpin' Thurn, "mthurn at cpan.org", and the tinyurl is <http://tinyurl.com/nn67z> 🫶


That’s the whole page, babe — source/version is perl v5.30.3, dated 2020-09-10 💖 periodt ✨