{
    "mode": "perldoc",
    "parameter": "WWW::Search::Null::Count",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/WWW%3A%3ASearch%3A%3ANull%3A%3ACount/json",
    "generated": "2026-07-05T09:27:08Z",
    "synopsis": "use WWW::Search;\nmy $iCount = 4;\nmy $oSearch = new WWW::Search('Null::Count',\n'nullcount' => $iCount,\n);\n$oSearch->nativequery('Makes no difference what you search for...');\nmy @aoResults = $oSearch->results;\n# ...You get $iCount results.",
    "sections": {
        "NAME": {
            "content": "WWW::Search::Null::Count - class for testing WWW::Search clients\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use WWW::Search;\nmy $iCount = 4;\nmy $oSearch = new WWW::Search('Null::Count',\n'nullcount' => $iCount,\n);\n$oSearch->nativequery('Makes no difference what you search for...');\nmy @aoResults = $oSearch->results;\n# ...You get $iCount results.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class is a specialization of WWW::Search that returns some hits, but no error message. The\nnumber of hits returned can be controlled by adding a 'nullcount' hash entry onto the call to\nWWW::Search::new(). The default is 5.\n\nThis module might be useful for testing a client program without actually being connected to any\nparticular search engine.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Martin 'Kingpin' Thurn, \"mthurn at cpan.org\", <http://tinyurl.com/nn67z>.\n",
            "subsections": []
        }
    },
    "summary": "WWW::Search::Null::Count - class for testing WWW::Search clients",
    "flags": [],
    "examples": [],
    "see_also": []
}