Apache::CVS::Diff - class that implements a CVS diff
use Apache::CVS::File(); use Apache::CVS::Diff(); $diff = Apache::CVS::Diff->new($source, $target, $style); @content = @{ $diff->content() };
The Apache::CVS::Diff class implements a CVS diff. What you would get with your plain 'ol cvs diff command.
Apache::CVS::Diff
Construct a new Apache::CVS::Diff object. The first two arguments should be instancesof Apache::CVS::Version. The third is the arguments to rcsdiff(1). The style defaults to 'ua'.
Apache::CVS::Version
Returns the source revision of this diff.
Returns the target revision of this diff.
Returns or set the style of the diff.
Returns the contents of the diff as a references to an array of lines.
Apache::CVS, Apache::CVS::File
John Barbee <barbee@veribox.net>
Copyright 2001-2002 John Barbee
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Apache::CVS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::CVS
CPAN shell
perl -MCPAN -e shell install Apache::CVS
For more information on module installation, please visit the detailed CPAN module installation guide.