Data::Diff

Data::Diff is a data structure comparison module.
Download

Data::Diff Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • George Campbell
  • Publisher web site:
  • http://search.cpan.org/~gcampbell/Data-Diff-0.01/Diff.pm

Data::Diff Tags


Data::Diff Description

Data::Diff is a data structure comparison module. Data::Diff is a data structure comparison module.SYNOPSIS use Data::Diff qw(diff); # simple procedural interface to raw difference output $out = diff( $a, $b ); # OO usage $diff = Data::Diff->new( $a, $b ); $new = $diff->apply(); $changes = $diff->diff_a();Data::Diff computes the differences between two abirtray complex data structures.METHODSCreationnew Data::Diff( $a, $b, $options )Creates and retruns a new Data::Diff object with the differences between $a and $b.Accessapply( $options )Returns the result of applying one side over the other.raw()Returns the internal data structure that describes the differences at all levels within.FunctionsDiff( $a, $b, $options )Compares the two arguments $a and $b and returns the raw comparison between the two.EXPORTNothing by default but you can choose to export the non-OO function Diff(). Requirements: · Perl


Data::Diff Related Software