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.
In reply to Re: storing and using LoL path
by kyle
in thread storing and using LoL path
by rootcho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |