On Tue, 7 Aug 2001, Romek Krisztián wrote:

> @array[$a] = [1, 2, 3, 4, 5];

Should be

$array[$a] = [ 1, 2, 3, 4, 5 ];

> How can I determine the length of an array inside an array?
>
> I tried the followings:
>
> $length = $#array[$a]            # --> syntax error
> $length = scalar(@array[$a]) # --> ARRAY(blablabla)

$length = @{ $array[$a] };

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Only that in you which is me can hear what I'm saying.
                -- Baba Ram Dass


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

Reply via email to