|
NAMECPAN::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',
],
);
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. ATTRIBUTEStextThe text of the change entry. entriesAn array ref of sub-entries under this change entry. lineThe line number that the change entry starts at. METHODSserializeReturns the changes entry 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 sub-entries for this entry. find_entryAccepts a string or a regex, returns a matching sub-entry object. add_entryAdds a changes sub-entry. Accepts a changes sub-entry object or a string. remove_entryGiven a string or a changes entry object, removes the entry from the release. SEE ALSO
AUTHORSSee CPAN::Changes for authors. COPYRIGHT AND LICENSESee CPAN::Changes for the copyright and license.
|