in reply to RE: Re: Finding the length of an array of arrays
in thread Finding the length of an array of arrays

That print line isn't printing the size; I didn't think that was what the OP wanted, from the code he/she demonstrated. It looked like he/she just wanted to find the "length" of the array (actually the last index) in order to loop over the inner arrays, then print out each element. So that's what my code does: the print line is printing the element with index $k in the array at $i in the original array @array.
  • Comment on RE: RE: Re: Finding the length of an array of arrays

Replies are listed 'Best First'.
RE: RE: RE: Re: Finding the length of an array of arrays
by target (Beadle) on Aug 17, 2000 at 23:53 UTC
    You are correct, and the changes you suggested worked perfectly. Thanks.