CPAN::Changes::Entry3pm
A change entry in a cpan changes file
Usage
my $entry = CPAN::Changes::Entry->new(text => 'A change entry'entries => ['A sub-entry','Another sub-entry',],);
Overview
A changelog is made up of one or more releases. This object provides access to all of the key data that embodies a release including the version number, date of release, and all of the changelog information lines.
Attributes
text
The text of the change entry.
entries
An array ref of sub-entries under this change entry.
line
The line number that the change entry starts at.
Methods
serialize
Returns the changes entry in string form.
clone
Returns a new release object with the same data. Can be given any attributes to set them differently in the new object.
has_entries
Returns true if there are sub-entries for this entry.
find_entry
Accepts a string or a regex, returns a matching sub-entry object.
add_entry
Adds a changes sub-entry. Accepts a changes sub-entry object or a string.
remove_entry
Given a string or a changes entry object, removes the entry from the release.
Copyright and license
See CPAN::Changes for the copyright and license.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.