CPAN::Changes::Entry(3pm)

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.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Authors

See CPAN::Changes for authors.

From perl-cpan-changes 0.500005-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.