in reply to determining length of multidimensional arrays

Please read perlreftut.
Please also notice that you can't simply get a list into a scalar, and when you evaluate an array in scalar context, you get its size.
  • Comment on Re: determining length of multidimensional arrays