On Wed, 14 May 2008 16:01:54 -0500
Tech list <[EMAIL PROTECTED]> wrote:

> what is the correct way to get the number of items in an array?
> 
> I used to use $#array

scalar(@array)



-- 
Levente Kovacs <[EMAIL PROTECTED]>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to