richmusk has asked for the wisdom of the Perl Monks concerning the following question:
I know that the code for the size of an array is
but how do you get the size of a row (?) of a 2D array$size = @array_name
I have tried ...
Running out of ideas, and can't find it in a book anywhere$size = @array_name[2] and $size = $array_name[2]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to get the size of a 2D array
by davorg (Chancellor) on Jun 29, 2001 at 13:24 UTC | |
|
Re: how to get the size of a 2D array
by agoth (Chaplain) on Jun 29, 2001 at 13:24 UTC | |
|
(ar0n) Re: how to get the size of a 2D array
by ar0n (Priest) on Jun 29, 2001 at 17:15 UTC | |
by agoth (Chaplain) on Jun 29, 2001 at 19:45 UTC | |
|
Re: how to get the size of a 2D array
by fenonn (Chaplain) on Jun 29, 2001 at 16:36 UTC | |
by davorg (Chancellor) on Jun 29, 2001 at 17:09 UTC | |
|
Re: how to get the size of a 2D array
by richmusk (Novice) on Jun 29, 2001 at 13:27 UTC |