in reply to Re: Pair of items
in thread Pair of items
Basically, if all of the elements in list1 are not equal to all of the elements in list2, that will print "No Common Items"use Quantum::Superpositions; my $list1 = [1,2,3]; my $list2 = [4,5,6]; print "No common items" if all(@$list1) != all(@$list2);
HTH
-Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: Pair of items
by dragonchild (Archbishop) on Jul 30, 2003 at 16:27 UTC |