{
    "mode": "perldoc",
    "parameter": "DBI::Util::CacheMemory",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/DBI%3A%3AUtil%3A%3ACacheMemory/json",
    "generated": "2026-06-09T15:22:12Z",
    "sections": {
        "NAME": {
            "content": "DBI::Util::CacheMemory - a very fast but very minimal subset of Cache::Memory\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Like Cache::Memory (part of the Cache distribution) but doesn't support any fancy features.\n\nThis module aims to be a very fast compatible strict sub-set for simple cases, such as basic\nclient-side caching for DBD::Gofer.\n\nLike Cache::Memory, and other caches in the Cache and Cache::Cache distributions, the data will\nremain in the cache until cleared, it expires, or the process dies. The cache object simply\ngoing out of scope will *not* destroy the data.\n",
            "subsections": []
        },
        "METHODS WITH CHANGES": {
            "content": "new\nAll options except \"namespace\" are ignored.\n\nset\nDoesn't support expiry.\n\npurge\nSame as clear() - deletes everything in the namespace.\n",
            "subsections": []
        },
        "METHODS WITHOUT CHANGES": {
            "content": "clear\ncount\nexists\nremove\n",
            "subsections": []
        },
        "UNSUPPORTED METHODS": {
            "content": "If it's not listed above, it's not supported.\n",
            "subsections": []
        }
    },
    "summary": "DBI::Util::CacheMemory - a very fast but very minimal subset of Cache::Memory",
    "flags": [],
    "examples": [],
    "see_also": []
}