---
name: "CPAN::Changes::Entry"
section: "3pm"
platform: "linux"
package: "perl-cpan-changes"
version: "0.500005-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/CPAN::Changes::Entry"
---

# CPAN::Changes::Entry(3pm)

A change entry in a CPAN Changes file

## NAME

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

## SYNOPSIS

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

## 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.

## 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.

## SEE ALSO

- •

  CPAN::Changes

## AUTHORS

See CPAN::Changes for authors.

## COPYRIGHT AND LICENSE

See CPAN::Changes for the copyright and license.
