From: "Agustin Rivera" <[EMAIL PROTECTED]>

> print $#array;
> 
> Agustin Rivera

This has been discussed on this list lately I believe.

This prints the max index of that array, not the array size.
Since normaly you index arrays in Perl from 0 the $#array is the 
length-1, but it doesn't have to (if someone was crazy enough to 
fiddle with $[).

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

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

Reply via email to