in reply to storing and using LoL path
I must not understand what you're looking for here. It seems to me that $lol->{$map{typeA}} is pretty much the same as $lol->{typeA} (as long as $map{typeA} is held constant).
I might also suggest that the only way you're going to get any $lol to respond sensibly to both $lol->{key1}[3]{key2} (which implies it's a hash ref) and $lol->[1]{key4} (which implies it's an array ref) is to make $lol an object which will use overload to be both things.
Perhaps you could tell us what you're really trying to do. This sounds a lot like an XY Problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: storing and using LoL path
by blazar (Canon) on May 28, 2007 at 19:58 UTC |