in reply to get difference of two arrays

Check out Set::Scalar.

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past