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


in reply to compare arrays, and list the difference

These are set operations, see Set::Scalar or similar module.