use strict; use warnings; use List::Compare; my @available_things = qw/ant bat cat dog /; my @requested_things = qw/bat rat/; my $lc = List::Compare->new(\@available_things, \@requested_things); print $lc->get_complement(), "\n";
In reply to Re: Matching array elements not in another array
by eff_i_g
in thread Matching array elements not in another array
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |