James E Keenan wrote at Mon, 10 Jun 2002 13:36:24 +0200:
> List::Compare
> adpO
> Simple object-oriented implementation of standard Perl code for comparison of the
>elements of two
> lists
> JKEENAN
>
I looked to the 0.11 version.
I think it would be useful to have some simple comparison methods like
List::Compare->new(\@a, \@b)->is_equal
->is_equal_set
->is_equal_bag
and the equivalents isnt_equal, isnt_equal_set, isnt_equal_bag.
Also a method which would find out
whether a list is a sublist of the other could make sense:
(I mean (2 4 6 8) is sublist of (1 2 3 4 5 6 7 8),
while (4 2 6 8) and (6 6 7 8) and (0) isn't).
Greetings,
Janek