Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
thanks for the helpmy @matrix = ( [qw( . . . 1 0 0 1 0 1 0 1)], [qw( . . 0 1 2 3 4 5 6 7 8)], [qw( . 0 . . . . . . . . .)], [qw( 0 1 . . . . . . . . .)], [qw( 1 2 . . . . . . . . .)], [qw( 0 3 . . . . . . . . .)], [qw( 1 4 . . . . . . . . .)], [qw( 1 5 . . . . . . . . .)], [qw( 0 6 . . . . . . . . .)], [qw( 1 7 . . . . . . . . .)], [qw( 1 8 . . . . . . . . .)], [qw( 0 9 . . . . . . . . .)], [qw( 1 7 . . . . . . . . .)], ); foreach $row (@matrix) { print "@$row\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Array of Array Row Reference
by strat (Canon) on Mar 04, 2002 at 14:51 UTC | |
|
(jeffa) Re: Array of Array Row Reference
by jeffa (Bishop) on Mar 04, 2002 at 14:44 UTC | |
by Juerd (Abbot) on Mar 04, 2002 at 14:46 UTC | |
|
Re: Array of Array Row Reference
by joealba (Hermit) on Mar 04, 2002 at 14:41 UTC |