in reply to How do I find the size of each row of a growing multidimensional array?

If you've implemented your multidimensional array as an array of arrayrefs, and if every row has the same number of columns:

my $num_columns = @{$INFO_ARRAY[0]};

But, since I don't really know how you've implemented it, I'm just guessing.

  • Comment on Re: How do I find the size of each row of a growing multidimensional array?
  • Download Code