arcnon has asked for the wisdom of the Perl Monks concerning the following question:
I am not having problems accessing the array slice but getting the entire array info is proving troublesome.my %t_type = ( 'a' => { 'chance' => {'low' => 2, 'high' => 12, 'percent' => 50}, 'range' => {'number' => '','disallowed' => ['none','1','2']}, } ); print "$t_type{'a'}{'magic'}{'disallowed'}[2] \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: array in hash in hash access
by davido (Cardinal) on Aug 25, 2004 at 03:55 UTC | |
|
Re: array in hash in hash access
by grantm (Parson) on Aug 25, 2004 at 04:04 UTC | |
|
Re: array in hash in hash access
by bobf (Monsignor) on Aug 25, 2004 at 06:25 UTC | |
|
Re: array in hash in hash access
by Mr_Jon (Monk) on Aug 25, 2004 at 08:06 UTC | |
|
Re: array in hash in hash access
by Prior Nacre V (Hermit) on Aug 25, 2004 at 11:19 UTC |