Re: items in array

[email protected] (Levente Kovacs)
Newsgroups perl.beginners
Organization logonex.eu
Message-ID <[email protected]>
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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.