Problems? Is your data what you think it is? | |
PerlMonks |
Printing hash of a hash databy eanicom (Initiate) |
on Sep 17, 2012 at 21:04 UTC ( [id://994104]=perlquestion: print w/replies, xml ) | Need Help?? |
eanicom has asked for the wisdom of the Perl Monks concerning the following question: Hello Perl Compatriots, I'm interested in knowing how to display the data in a hash of hashes using printf. I'm familiar with how to iterate through a typical hash and display the data using printf to format it but I'm having a difficult time displaying the data for a hash of hashes to format it with printf to get it to display how i want it. I know it must be easy but I'm having a bit of a difficult time. Any help would be greatly appreciated For example, if the Data is organized as such in the hash of hashes:
How can I iterate through the hash of hashes to display the data as such:
Back to
Seekers of Perl Wisdom
|
|