CPAN::Changes::Release - A release in a CPAN Changes file
Contents
Attributes
version
The version number of the release.
date
The date for the release.
note
The note attached to the release.
entries
An array ref of entries in the release.
line
The line number that the release starts at.
Copyright And License
See CPAN::Changes for the copyright and license.
perl v5.40.1 2025-04-20 CPAN::Changes::Release(3pm)
Description
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.
Legacy Methods
changesadd_changesset_changesclear_changesgroupsadd_groupdelete_groupdelete_empty_groupsget_groupattach_groupgroup_values
Methods
serialize
Returns the changes entry for the release 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 changes entries in this release.
find_entry
Accepts a string or a regex, returns a matching entry object.
add_entry
Adds a changes entry. Accepts a changes entry object or a string.
remove_entry
Given a string or a changes entry object, removes the entry from the release.
Name
CPAN::Changes::Release - A release in a CPAN Changes file
See Also
• CPAN::Changes
Synopsis
my $release = CPAN::Changes::Release->new(
version => '0.01',
date => '2015-07-20',
);
$release->add_entry('This is a change');
