Array-Diff
view release on metacpan or search on metacpan
lib/Array/Diff.pm view on Meta::CPAN
=over 4
=item new ()
Create a new C<Array::Diff> object.
=cut
sub new {
my $self = shift->SUPER::new(@_);
$self->{diff_class} ||= $INC{'Algorithm/Diff/XS.pm'} ? 'Algorithm::Diff::XS' : 'Algorithm::Diff';
$self;
}
=item diff ( OLD, NEW )
Compute the differences between two arrays. The results are stored
in the C<added>, C<deleted>, and C<count> properties that may be
( run in 0.264 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )