in reply to Re: Finding wether all elements of one array are in another
in thread Finding wether all elements of one array are in another
I don't think you need the module. Remember that all positive is the same as none negative.
my %temp; @temp{@complete} = @complete; print "Yep\n" unless grep { ! exists $temp{$_} } @partial;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Finding wether all elements of one array are in another
by Jenda (Abbot) on Oct 21, 2006 at 22:35 UTC |