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


in reply to Re: Need to Create an Array of Differences
in thread Need to Create an Array of Differences

I ended up doing something like this:
# given @a, @b my %a; @a{@a} = (); delete @a{@b}; my @c = keys %a;
This code works just as well as my previous code with the exception that the new code is much faster. Thanks!

-Scott