in reply to Efficient Comparison of Array elements

Set::Array is good. Another is Quantum::Superpositions. Most important is to not re-invent the wheel.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.