in reply to Example in Cookbook of hash of hash
And to verify that the structure you are creating really looks like what you want, you may wish to consult How can I visualize my complex data structure?.
HTH,