wertert has asked for the wisdom of the Perl Monks concerning the following question:
I need to find a way to do something like$HOH{item1}{item2}{item3}="value";
I've written a recursive function that walks the data structure using the passed list but this seems like over kill I know exactly where I want to go and should be able to jump straight there. Any ideas ?@list=(item1 item2 item3 .. itemx) $HOH{item1}{item2}{item3}..{itemx}="value"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hash to Hash to Hash ....
by Hofmator (Curate) on Aug 20, 2001 at 17:35 UTC | |
|
Re: Hash to Hash to Hash ....
by ariels (Curate) on Aug 20, 2001 at 17:51 UTC | |
by wertert (Sexton) on Aug 21, 2001 at 14:04 UTC | |
by wertert (Sexton) on Aug 21, 2001 at 14:10 UTC | |
|
Re: Hash to Hash to Hash ....
by wertert (Sexton) on Aug 20, 2001 at 18:11 UTC |