Array-Diff
view release on metacpan or search on metacpan
lib/Array/Diff.pm view on Meta::CPAN
394041424344454647484950515253545556575859=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.246 second using v1.01-cache-2.11-cpan-8d75d55dd25 )