{
    "mode": "perldoc",
    "parameter": "Cache::MemoryCache",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3AMemoryCache/json",
    "generated": "2026-06-10T16:22:13Z",
    "synopsis": "use Cache::MemoryCache;\nmy $cache = new Cache::MemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600 } );\nSee Cache::Cache for the usage synopsis.",
    "sections": {
        "NAME": {
            "content": "Cache::MemoryCache -- implements the Cache interface.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The MemoryCache class implements the Cache interface. This cache stores data on a per-process\nbasis. This is the fastest of the cache implementations, but data can not be shared between\nprocesses with the MemoryCache. However, the data will remain in the cache until cleared, it\nexpires, or the process dies. The cache object simply going out of scope will not destroy the\ndata.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Cache::MemoryCache;\n\nmy $cache = new Cache::MemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600 } );\n\nSee Cache::Cache for the usage synopsis.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "See Cache::Cache for the API documentation.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "See Cache::Cache for standard options.\n",
            "subsections": []
        },
        "PROPERTIES": {
            "content": "See Cache::Cache for default properties.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Cache::Cache\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Original author: DeWitt Clinton <dewitt@unto.net>\n\nLast author: $Author: dclinton $\n\nCopyright (C) 2001-2003 DeWitt Clinton\n",
            "subsections": []
        }
    },
    "summary": "Cache::MemoryCache -- implements the Cache interface.",
    "flags": [],
    "examples": [],
    "see_also": []
}