in reply to Help with Hash of hashes, is there a better way?
...perfectly describes the information i'm working with...is not
Nasty:-)
Also, I wouldn't call four while loops to traverse a complex data structure unweildy but ymmv.
You have chosen, imo, good meaningful field/var names and I think this produces readable code. It's very easy to see what you are doing.
If the amount of data is large and you need to build/load/store this structure frequently I might consider a relational db, say, MySQL. You would have a nice collection of left join tables.
Perl is often lauded for it's regexes. I would argue that the ability to easily handle these types of complex data structures comes in at a close second.
update:
Fixed some typos/grammer
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help with Hash of hashes, is there a better way?
by TeraMarv (Beadle) on Jun 01, 2006 at 08:11 UTC | |
by ikegami (Patriarch) on Jun 01, 2006 at 09:24 UTC | |
by TeraMarv (Beadle) on Jun 01, 2006 at 10:16 UTC | |
by ikegami (Patriarch) on Jun 01, 2006 at 09:22 UTC | |
by friedo (Prior) on Jun 01, 2006 at 09:03 UTC | |
by bart (Canon) on Jun 01, 2006 at 09:36 UTC | |
by wfsp (Abbot) on Jun 01, 2006 at 08:29 UTC |