{
    "mode": "perldoc",
    "parameter": "Dpkg::Changelog::Entry",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg%3A%3AChangelog%3A%3AEntry/json",
    "generated": "2026-05-30T17:17:56Z",
    "sections": {
        "NAME": {
            "content": "Dpkg::Changelog::Entry - represents a changelog entry\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class represents a changelog entry. It is composed of a set of\nlines with specific purpose: a header line, changes lines, a trailer\nline. Blank lines can be between those kind of lines.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$entry = Dpkg::Changelog::Entry->new()\nCreates a new object. It doesn't represent a real changelog entry\nuntil one has been successfully parsed or built from scratch.\n\n$str = $entry->output()\n\"$entry\"\nGet a string representation of the changelog entry.\n\n$entry->output($fh)\nPrint the string representation of the changelog entry to a\nfilehandle.\n\n$entry->getpart($part)\nReturn either a string (for a single line) or an array ref (for\nmultiple lines) corresponding to the requested part. $part can be\n\"header, \"changes\", \"trailer\", \"blankafterheader\",\n\"blankafterchanges\", \"blankaftertrailer\".\n\n$entry->setpart($part, $value)\nSet the value of the corresponding part. $value can be a string or\nan array ref.\n\n$entry->extendpart($part, $value)\nConcatenate $value at the end of the part. If the part is already a\nmulti-line value, $value is added as a new line otherwise it's\nconcatenated at the end of the current line.\n\n$isempty = $entry->isempty()\nReturns 1 if the changelog entry doesn't contain anything at all.\nReturns 0 as soon as it contains something in any of its non-blank\nparts.\n\n$entry->normalize()\nNormalize the content. Strip whitespaces at end of lines, use a\nsingle empty line to separate each part.\n\n$src = $entry->getsource()\nReturn the name of the source package associated to the changelog\nentry.\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\nalways returns a Dpkg::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\nentry.\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\n$str = $entry->getdpkgchanges()\nReturns a string that is suitable for usage in a \"Changes\" field in\nthe output format of \"dpkg-parsechangelog\".\n",
            "subsections": []
        },
        "CHANGES": {
            "content": "Version 1.01 (dpkg 1.18.8)\nNew method: $entry->gettimepiece().\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n",
            "subsections": []
        }
    },
    "summary": "Dpkg::Changelog::Entry - represents a changelog entry",
    "flags": [],
    "examples": [],
    "see_also": []
}