![]() |
![]()
| ![]() |
![]()
NAMECPAN::Changes::Release - A release in a CPAN Changes file SYNOPSISmy $release = CPAN::Changes::Release->new( version => '0.01', date => '2015-07-20', ); $release->add_entry('This is a change'); DESCRIPTIONA 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. ATTRIBUTESversionThe version number of the release. dateThe date for the release. noteThe note attached to the release. entriesAn array ref of entries in the release. lineThe line number that the release starts at. METHODSserializeReturns the changes entry for the release in string form. cloneReturns a new release object with the same data. Can be given any attributes to set them differently in the new object. has_entriesReturns true if there are changes entries in this release. find_entryAccepts a string or a regex, returns a matching entry object. add_entryAdds a changes entry. Accepts a changes entry object or a string. remove_entryGiven a string or a changes entry object, removes the entry from the release. LEGACY METHODSchangesadd_changesset_changesclear_changesgroupsadd_groupdelete_groupdelete_empty_groupsget_groupattach_groupgroup_valuesSEE ALSO
AUTHORSSee CPAN::Changes for authors. COPYRIGHT AND LICENSESee CPAN::Changes for the copyright and license.
|