At 11:23 AM 7/31/01 -0700, Michael Dube wrote:
>Howdy,
>
>I know that to determine the array length of @array, the following options
>are available:
>a) $#array (returns last index)
>b) scaler(@array) (returns true length)
>
>Now... if I have a multidimensional array, $array[$x][$y], how do I
>determine the array length for $array[$x]?

a) $#{$array[$x]}
b) scalar @{$array[$x]}



--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to