fionbarr has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to iterate through this array and want to make the array size dynamic. The framework looks like:@$var_ref_array = ( [ 5349, 5350, 6205 ], # windows [ 5355, 5356, 1777741, 1777742 ], # linux [ 5699, 1792850, 1792851 ] # solaris
I can't get the length correct.for my $i ( 0 .. ? ) { for my $j ( 0 .. ?) ) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: iterate through two-dimensional array
by BrowserUk (Patriarch) on Sep 24, 2014 at 20:27 UTC | |
|
Re: iterate through two-dimensional array
by LanX (Saint) on Sep 24, 2014 at 20:37 UTC | |
by fionbarr (Friar) on Sep 24, 2014 at 21:04 UTC | |
|
Re: iterate through two-dimensional array
by Laurent_R (Canon) on Sep 24, 2014 at 21:24 UTC |