NAME Diff::LibXDiff - Calculate a diff with LibXDiff (via XS) VERSION Version 0.04 SYNOPSIS use Diff::LibXDiff; my $string1 = <<_END_ apple banana cherry _END_ my $string2 = <<_END_ apple grape cherry lime _END_ my $diff = Diff::LibXDiff->diff( $string1, $string2 ) # $diff is ... @@ -1,3 +1,4 @@ apple -banana +grape cherry +lime DESCRIPTION Diff::LibXDiff is a binding of LibXDiff () to Perl via XS LibXDiff is the basis of the diff engine for git METHODS $diff = Diff::LibXDiff->diff( $string1, $string2 ) Calculate the textual diff of $string1 and $string2 and return the result as a string $patched = Diff::LibXDiff->patch( $original, $patch ) ( $patched, $rejected ) = Diff::LibXDiff->patch( $original, $patch ) Calculate the patched string given an original string and a patch string If the patching algorithm cannot place a hunk, it will return a second "rejected" result (if called in list context) AUTHOR Robert Krimen, "" SEE ALSO Algorithm::Diff BUGS Please report any bugs or feature requests to "bug-diff-libxdiff at rt.cpan.org", or through the web interface at . I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT You can find documentation for this module with the perldoc command. perldoc Diff::LibXDiff You can also look for information at: * RT: CPAN's request tracker * AnnoCPAN: Annotated CPAN documentation * CPAN Ratings * Search CPAN ACKNOWLEDGEMENTS COPYRIGHT & LICENSE Copyright 2009 Robert Krimen, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.