rootcho has asked for the wisdom of the Perl Monks concerning the following question:
and then depending on the type I want to access different element of the LoL. i.e. again pseudo code%map = ( typeA => {key1}[3]{key2}, typeB => {key3}, typeC => [1]{key4}, )
do u have some idea how can i do something like this.$lol->{$map{typeA}} <==> $lol->{key1}[3]{key2} $lol->{$map{typeB}} <==> $lol->{key3} $lol->{$map{typeB}} <==> $lol->[1]{key4}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: storing and using LoL path
by blazar (Canon) on May 25, 2007 at 19:07 UTC | |
|
Re: storing and using LoL path
by GrandFather (Saint) on May 25, 2007 at 20:56 UTC | |
|
Re: storing and using LoL path
by almut (Canon) on May 25, 2007 at 21:07 UTC | |
by rootcho (Pilgrim) on May 25, 2007 at 23:51 UTC | |
by almut (Canon) on May 26, 2007 at 02:03 UTC | |
|
Re: storing and using LoL path
by naikonta (Curate) on May 25, 2007 at 19:01 UTC | |
|
Re: storing and using LoL path
by kyle (Abbot) on May 25, 2007 at 19:15 UTC | |
by blazar (Canon) on May 28, 2007 at 19:58 UTC | |
|
Re: storing and using LoL path
by ikegami (Patriarch) on May 28, 2007 at 18:05 UTC |