http://www.perlmonks.org?node_id=966247


in reply to Re: comparing lists and getting an exemtion report
in thread comparing lists and getting an exemtion report

# Assuming @list_a and @list_b my %b; $b{$_} = 1 foreach (@list_b); my @list_c = grep { not $b{$_} } @list_a;