{
    "mode": "perldoc",
    "parameter": "Dpkg::Interface::Storable",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg%3A%3AInterface%3A%3AStorable/json",
    "generated": "2026-06-13T01:23:30Z",
    "sections": {
        "NAME": {
            "content": "Dpkg::Interface::Storable - common methods related to object serialization\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Dpkg::Interface::Storable is only meant to be used as parent class for other classes. It\nprovides common methods that are all implemented on top of two basic methods parse() and",
            "subsections": [
                {
                    "name": "output",
                    "content": ""
                }
            ]
        },
        "BASE METHODS": {
            "content": "Those methods must be provided by the class that wish to inherit from Dpkg::Interface::Storable\nso that the methods provided can work.\n\n$obj->parse($fh[, $desc])\nThis methods initialize the object with the data stored in the filehandle. $desc is optional\nand is a textual description of the filehandle used in error messages.\n\n$string = $obj->output([$fh])\nThis method returns a string representation of the object in $string and it writes the same\nstring to $fh (if it's defined).\n",
            "subsections": []
        },
        "PROVIDED METHODS": {
            "content": "$obj->load($filename, %opts)\nInitialize the object with the data stored in the file. The file can be compressed, it will\nbe decompressed on the fly by using a Dpkg::Compression::FileHandle object. If\n$opts{compression} is false the decompression support will be disabled. If $filename is \"-\",\nthen the standard input is read (no compression is allowed in that case).\n\n$obj->save($filename, %opts)\nStore the object in the file. If the filename ends with a known compression extension, it\nwill be compressed on the fly by using a Dpkg::Compression::FileHandle object. If\n$opts{compression} is false the compression support will be disabled. If $filename is \"-\",\nthen the standard output is used (data are written uncompressed in that case).\n\n\"$obj\"\nReturn a string representation of the object.\n",
            "subsections": []
        },
        "CHANGES": {
            "content": "Version 1.01 (dpkg 1.19.0)\nNew options: The $obj->load() and $obj->save() methods support a new compression option.\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n",
            "subsections": []
        }
    },
    "summary": "Dpkg::Interface::Storable - common methods related to object serialization",
    "flags": [],
    "examples": [],
    "see_also": []
}