App::KGB::Commit - a single commit
my $c = App::KGB::Commit->new( { id => 4536, changes => ["(M)/there"], log => "fixed /there", author => "My Self <mself@here.at>", branch => "trunk", module => "test", } );
App::KGB::Change encapsulates a single commit. A commit has several properties: an ID, a list of changes, an author, a log message, optionally also a branch and a module.
The commit ID that uniquely identifies it in the repository (if applicable).
An arrayref of App::KGB::Change instances or other objects that behave as strings.
Standard constructor. Accepts a hashref with field values.
Returns a text representation of the commit object
To install App::KGB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::KGB
CPAN shell
perl -MCPAN -e shell install App::KGB
For more information on module installation, please visit the detailed CPAN module installation guide.