CPAN::Changes(3pm) | User Contributed Perl Documentation | CPAN::Changes(3pm) |
CPAN::Changes - Parser for CPAN style change logs
use CPAN::Changes; my $changes = CPAN::Changes->load('Changes'); $changes->release('0.01');
It is standard practice to include a Changes file in your distribution. The purpose the Changes file is to help a user figure out what has changed since the last release.
People have devised many ways to write the Changes file. A preliminary specification has been created (CPAN::Changes::Spec) to encourage module authors to write clear and concise Changes.
This module will help users programmatically read and write Changes files that conform to the specification.
Creates a CPAN::Changes object.
%args
Creates a new CPAN::Changes object by parsing the given file via CPAN::Changes::Parser.
Creates a new CPAN::Changes object by parsing the given string via CPAN::Changes::Parser.
Gets or sets the preamble section.
Gets or sets the list of releases as CPAN::Changes::Release objects.
Adds the given releases to the change log. If a release of the same version exists, it will be overwritten.
Removes the given versions from change log.
Finds a release with the given version.
Returns a new CPAN::Changes object with the releases in the opposite order.
Returns a new "CPAN::Changes" object with the given attributes changed.
Returns the change log as a string suitable for saving as a Changes file.
The styles can be either a single character to prefix change lines or two characters to use as a prefix and suffix.
Removes empty groups.
An alias for find_release.
haarg - Graham Knop (cpan:HAARG) <haarg@haarg.org>
Brian Cassidy <bricas@cpan.org>
Copyright (c) 2011-2015 the CPAN::Changes "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software and may be distributed under the same terms as perl itself. See <http://dev.perl.org/licenses/>.
2024-03-02 | perl v5.38.2 |