in reply to How do I compare/match deeply nested (complex) data structures?
The Data::Nested module has the ability to compare data structures. See the identical method.