in reply to Get only unique values into array

Take a look at 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