in reply to Adding data to hashes & comparing
In addition to the great references (pun intended) above, you may find the following useful:
How can I visualize my complex data structure? How do I compare/match deeply nested (complex) data structures?
HTH,