{
    "mode": "perldoc",
    "parameter": "Cache::Null",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ANull/json",
    "generated": "2026-06-10T16:24:29Z",
    "synopsis": "use Cache::Null;\nmy $cache = Cache::Null->new();\nSee Cache for the usage synopsis.",
    "sections": {
        "NAME": {
            "content": "Cache::Null - Null implementation of the Cache interface\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Cache::Null;\n\nmy $cache = Cache::Null->new();\n\nSee Cache for the usage synopsis.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The Cache::Null class implements the Cache interface, but does not actually persist data. This\nis useful when developing and debugging a system and you wish to easily turn off caching. As a\nresult, all calls return results indicating that there is no data stored.\n",
            "subsections": []
        },
        "CONSTRUCTOR": {
            "content": "my $cache = Cache::Null->new( %options )\n\nThe constructor takes cache properties as named arguments, for example:\n\nmy $cache = Cache::Null->new( defaultexpires => '600 sec' );\n\nSee 'PROPERTIES' below and in the Cache documentation for a list of all available properties\nthat can be set. However it should be noted that all the existing properties, such as\ndefaultexpires, have no effect in a Null cache.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "See 'Cache' for the API documentation.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Cache\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Chris Leishman <chris@leishman.org>\nBased on work by DeWitt Clinton <dewitt@unto.net>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2003-2006 Chris Leishman.  All Rights Reserved.\n\nThis module is distributed on an \"AS IS\" basis, WITHOUT WARRANTY OF ANY KIND, either expressed\nor implied. This program is free software; you can redistribute or modify it under the same\nterms as Perl itself.\n\n$Id: Null.pm,v 1.4 2006/01/31 15:23:58 caleishm Exp $\n",
            "subsections": []
        }
    },
    "summary": "Cache::Null - Null implementation of the Cache interface",
    "flags": [],
    "examples": [],
    "see_also": []
}