in reply to Interesting problem on perl data structure
How can I visualize my complex data structure? and How do I compare/match deeply nested (complex) data structures? may also be of interest to you.
HTH,