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

CPAN::Changes::Entry - A change entry in a CPAN Changes file

my $entry = CPAN::Changes::Entry->new(
  text    => 'A change entry'
  entries => [
    'A sub-entry',
    'Another sub-entry',
  ],
);

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 text of the change entry.

An array ref of sub-entries under this change entry.

The line number that the change entry starts at.

Returns the changes entry 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 sub-entries for this entry.

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

Adds a changes sub-entry. Accepts a changes sub-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