21 Jun 2015 18:40:45 UTC
- Distribution: CPAN-Changes
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (11)
- Testers (9650 / 3 / 3)
- KwaliteeBus factor: 1
- 88.69% Coverage
- License: perl_5
- Activity24 month
- Download (20.86KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- SEE ALSO
- COPYRIGHT AND LICENSE
CPAN::Changes::Group - A group of related change information within a release
my $rel = CPAN::Changes::Release->new( version => '0.01', date => '2009-07-06', ); my $grp = CPAN::Changes::Group->new( name => 'BugFixes', ); $grp->add_changes( 'Return a Foo object instead of a Bar object in foobar()' ); $rel->attach_group( $grp ); # clobbers existing group if present.
A release is made up of several groups. This object provides access to all of the key data that embodies a such a group.
0.27 2013-12-13 - Foo [ Spec Changes ] - Bar
Here, there are two groups, the second one,
Spec Changesand the first with the empty label
Creates a new group object, using
%argsas the default data.
Group->new( name => 'Some Group Name', changes => [ ], );
Returns the name of the group itself.
Gets the list of changes for this group as an arrayref of changes.
Appends a list of changes to the group.
$group->add_changes( 'Added foo() function' );
Replaces the existing list of changes with the supplied values.
Clears all changes from the group.
Returns a list of current groups in this release.
Returns whether or not the given group has changes.
Returns the group data as a string, suitable for inclusion in a Changes file.
Brian Cassidy <email@example.com>
Copyright 2011-2013 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install CPAN::Changes, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install CPAN::Changes
For more information on module installation, please visit the detailed CPAN module installation guide.