{
    "mode": "perldoc",
    "parameter": "Dpkg::Changelog::Entry::Debian",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg%3A%3AChangelog%3A%3AEntry%3A%3ADebian/json",
    "generated": "2026-06-13T18:04:46Z",
    "sections": {
        "NAME": {
            "content": "Dpkg::Changelog::Entry::Debian - represents a Debian changelog entry\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class represents a Debian changelog entry. It implements the generic interface\nDpkg::Changelog::Entry. Only functions specific to this implementation are described below, the\nrest are inherited.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "@items = $entry->getchangeitems()\nReturn a list of change items. Each item contains at least one line. A change line starting\nwith an asterisk denotes the start of a new item. Any change line like \"\"[ Raphaël Hertzog\n]\"\" is treated like an item of its own even if it starts a set of items attributed to this\nperson (the following line necessarily starts a new item).\n\n@errors = $entry->parseheader()\n@errors = $entry->parsetrailer()\nReturn a list of errors. Each item in the list is an error message describing the problem.\nIf the empty list is returned, no errors have been found.\n\n$entry->normalize()\nNormalize the content. Strip whitespaces at end of lines, use a single empty line to\nseparate each part.\n\n$src = $entry->getsource()\nReturn the name of the source package associated to the changelog entry.\n\n$ver = $entry->getversion()\nReturn the version associated to the changelog entry.\n\n@dists = $entry->getdistributions()\nReturn a list of target distributions for this version.\n\n$fields = $entry->getoptionalfields()\nReturn a set of optional fields exposed by the changelog entry. It always returns a\nDpkg::Control object (possibly empty though).\n\n$urgency = $entry->geturgency()\nReturn the urgency of the associated upload.\n\n$maint = $entry->getmaintainer()\nReturn the string identifying the person who signed this changelog entry.\n\n$time = $entry->gettimestamp()\nReturn the timestamp of the changelog entry.\n\n$time = $entry->gettimepiece()\nReturn the timestamp of the changelog entry as a Time::Piece object.\n\nThis function might return undef if there was no timestamp.\n",
            "subsections": []
        },
        "UTILITY FUNCTIONS": {
            "content": "$bool = matchheader($line)\nChecks if the line matches a valid changelog header line.\n\n$bool = matchtrailer($line)\nChecks if the line matches a valid changelog trailing line.\n\n@closedbugs = findcloses($changes)\nTakes one string as argument and finds \"Closes: #123456, #654321\" statements as supported by\nthe Debian Archive software in it. Returns all closed bug numbers in an array.\n",
            "subsections": []
        },
        "CHANGES": {
            "content": "Version 2.00 (dpkg 1.20.0)\nRemove methods: $entry->checkheader(), $entry->checktrailer().\n\nHide variables: $regexheader, $regextrailer.\n\nVersion 1.03 (dpkg 1.18.8)\nNew methods: $entry->gettimepiece().\n\nVersion 1.02 (dpkg 1.18.5)\nNew methods: $entry->parseheader(), $entry->parsetrailer().\n\nDeprecated methods: $entry->checkheader(), $entry->checktrailer().\n\nVersion 1.01 (dpkg 1.17.2)\nNew functions: matchheader(), matchtrailer()\n\nDeprecated variables: $regexheader, $regextrailer\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n",
            "subsections": []
        }
    },
    "summary": "Dpkg::Changelog::Entry::Debian - represents a Debian changelog entry",
    "flags": [],
    "examples": [],
    "see_also": []
}