CPAN::C...Release(3)

πŸŽ€ NAME πŸŽ€

CPAN::Changes::Release β€” a release in a CPAN Changes file. Also hiii, this is the CPAN::C...Release(3) page from User Contributed Perl Documentation, bestie πŸ’«


✨ SYNOPSIS ✨

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

  $release->add_entry('This is a change');

🌸 DESCRIPTION 🌸

Okay so a changelog is made up of one or more releases, periodt. This object gives you access to all the key data that embodies a release, including the version number, the date of release, and all of the changelog information lines. It’s giving backstage pass to release info πŸ’…


πŸ¦‹ ATTRIBUTES πŸ¦‹

version

The version number of the release. iconic number behavior ✨

date

The date for the release. πŸ—“οΈ

note

The note attached to the release. little side-note moment πŸŽ€

entries

An array ref of entries in the release.

line

The line number that the release starts at.


πŸ’– 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. copy-paste but make it fashion 🫢

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.


🌈 LEGACY METHODS 🌈

The legacy method names, exactly as the original lists them β€” no extra invented lore, just the names:

  • changes
  • add_changes
  • set_changes
  • clear_changes
  • groups
  • add_group
  • delete_group
  • delete_empty_groups
  • get_group
  • attach_group
  • group_values

πŸ”₯ SEE ALSO πŸ”₯

  • CPAN::Changes

πŸ‘‘ AUTHORS πŸ‘‘

See CPAN::Changes for authors.


See CPAN::Changes for the copyright and license.


made with perl v5.42.0, dated 2025-07-25, for CPAN::C...Release(3) β€” bye bestie, slay responsibly πŸ’œ

πŸ“¦ where this page comes from