in reply to Re: how to get the size of a 2D array
in thread how to get the size of a 2D array

That only works as long as no-one has changed the value in $[. I know that no-one should be playing with that value, but it's always possible that they have.

Why use a potentially inaccurate method, when a simpler, accurate one exists?

--
<http://www.dave.org.uk>

Perl Training in the UK <http://www.iterative-software.com>

  • Comment on Re: Re: how to get the size of a 2D array