CPAN::Changes::Release(3) User Contributed Perl Documentation CPAN::Changes::Release(3)

CPAN::Changes::Release - A release in a CPAN Changes file

my $release = CPAN::Changes::Release->new(
  version => '0.01',
  date    => '2015-07-20',
);
$release->add_entry('This is a change');

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.

The version number of the release.

The date for the release.

The note attached to the release.

An array ref of entries in the release.

The line number that the release starts at.

Returns the changes entry for the release in string form.

Returns a new release object with the same data. Can be given any attributes to set them differently in the new object.

Returns true if there are changes entries in this release.

Accepts a string or a regex, returns a matching entry object.

Adds a changes entry. Accepts a changes entry object or a string.

Given a string or a changes entry object, removes the entry from the release.

CPAN::Changes

See CPAN::Changes for authors.

See CPAN::Changes for the copyright and license.

2024-06-08 perl v5.38.2