> But, there should be a straight forward method to compare these hashes within the array
Look the point is that your whole data structure is not straight forward.
Why an AoH if you want uniqueness?
And which entry should be unique, really both or all??
Using %seen if common knowledge (see FAQ) and "combined uniqueness" needs combination, that's to unusual for a special operator and straight forward to implement.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
|