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


in reply to Subtract arrays (RE: I have contributed a module to CPAN)
in thread I have contributed a module to CPAN

This looks like the intersection
grep { not exists $dup{$_} } @list
should be the difference.