{
    "mode": "perldoc",
    "parameter": "Dpkg::Changelog::Entry",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg%3A%3AChangelog%3A%3AEntry/json",
    "generated": "2026-07-05T09:31:41Z",
    "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 lines with specific purpose:\na header line, changes lines, a trailer line. 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 until one has been\nsuccessfully 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 filehandle.\n\n$entry->getpart($part)\nReturn either a string (for a single line) or an array ref (for multiple lines)\ncorresponding to the requested part. $part can be \"header, \"changes\", \"trailer\",\n\"blankafterheader\", \"blankafterchanges\", \"blankaftertrailer\".\n\n$entry->setpart($part, $value)\nSet the value of the corresponding part. $value can be a string or an array ref.\n\n$entry->extendpart($part, $value)\nConcatenate $value at the end of the part. If the part is already a multi-line value, $value\nis added as a new line otherwise it's concatenated at the end of the current line.\n\n$isempty = $entry->isempty()\nReturns 1 if the changelog entry doesn't contain anything at all. Returns 0 as soon as it\ncontains something in any of its non-blank parts.\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\n$str = $entry->getdpkgchanges()\nReturns a string that is suitable for usage in a \"Changes\" field in the output format of\n\"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": []
}