"Tomasi, Chuck" <[EMAIL PROTECTED]> writes: > For a normal array (@MyArray), one can use $#MyArray to > get the position of the last element. ^^^^^^^^ "index" is a better term
You usually don't need to use that syntax, however. Use @MyArray in a scalar context. $MyLen = @MyArray; or print "Length of array is: ", scalar(@MyArray) -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]