|Just another Perl shrine|
Help with Hash of hashes, is there a better way?by TeraMarv (Beadle)
|on Jun 01, 2006 at 07:28 UTC||Need Help??|
TeraMarv has asked for the
wisdom of the Perl Monks concerning the following question:
I have been writing a script to monitor the capacities of various disks and databases in my work environment. During this process i have found myself working with the following Hash of Hashes
While this perfectly describes the information i'm working with it becomes a bit unwieldy when working with it. I have had to resort to a bunch of nested 'while' loops
Is there a better/prettier way of traversing the data structure or even a better way of representing the data with a different structure?