in reply to Identical Arrays
Your arrays appear to represent sets. Consider using diffference method of the module Set::Array.