
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.
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'.
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.