can anyone tell me how to create a hash of hashes , and then get the values out again!

eg hash1 = (key1 = hash1a (key1a => value,
key2a => value));

not sure how to format it!!