This object represents a Debian changelog entry. It implements the
generic interface Dpkg::Changelog::Entry. Only functions specific to this
implementation are described below.
- my @items =
$entry->get_change_items()
- Return a list of change items. Each item contains at least one line. A
change line starting with an asterisk denotes the start of a new item. Any
change line like "[ Raphaël Hertzog ]" is treated like an
item of its own even if it starts a set of items attributed to this person
(the following line necessarily starts a new item).
- my @errors =
$entry->check_header()
- my @errors =
$entry->check_trailer()
- Return a list of errors. Each item in the list is an error message
describing the problem. If the empty list is returned, no errors have been
found.
- $entry->normalize()
- Normalize the content. Strip whitespaces at end of lines, use a single
empty line to separate each part.
New functions: match_header(), match_trailer()
Deprecated variables: $regex_header,
$regex_trailer
Raphaël Hertzog <hertzog@debian.org>.