in reply to
hash of hashes
You've provided no information regarding how this conversion is supposed to work.
You've shown no indication that you've made any effort yourself.
PerlMonks is not a free, code-writing service.
See "Do Your Own Work" in How (Not) To Ask A Question.
Please read "How do I post a question effectively?" to further understand the problems with what you've posted and for guidelines on how to compose a better question.
Are you the same Anonymous Monk who authored the identically titled hash of hashes earlier today?
The responses to that posting should provide further insight into these issues.