Access is the same whether you're looping or not
my %State; ## in the Same-of-Washington there is an eric $State{Washington}{name}[0] = "Eric"; #d2 $State{Washington}{name}[1] = "Smith"; #d2 $State{California}{name}[0] = "John"; #d2 $State{California}{name}[1] = "Paddy"; #d2 $State{California}{name}[2] = "Josh"; #d2 my %Car; ## Car-of-Washington $Car{Washington} = "Honda"; #d0 $Car{California} = "BMW"; #d0
See also references quick reference
see also
chromatics free book Modern Perl a loose description of how experienced and effective Perl 5 programmers work....You can learn this too.
Learn Perl in about 2 hours 30 minutes
In reply to Re: looping multidimensional arrays (the same as not looping them)
by Anonymous Monk
in thread looping multidimensional arrays
by sunil9009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |