{
    "content": [
        {
            "type": "text",
            "text": "# Dpkg::Changelog::Entry (perldoc)\n\n**Summary:** Dpkg::Changelog::Entry - represents a changelog entry\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (4 lines)\n- **METHODS** (69 lines)\n- **CHANGES** (6 lines)\n\n## Full Content\n\n### NAME\n\nDpkg::Changelog::Entry - represents a changelog entry\n\n### DESCRIPTION\n\nThis 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\n### METHODS\n\n$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\n### CHANGES\n\nVersion 1.01 (dpkg 1.18.8)\nNew method: $entry->gettimepiece().\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n\n"
        }
    ],
    "structuredContent": {
        "command": "Dpkg::Changelog::Entry",
        "section": "",
        "mode": "perldoc",
        "summary": "Dpkg::Changelog::Entry - represents a changelog entry",
        "synopsis": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 69,
                "subsections": []
            },
            {
                "name": "CHANGES",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}