develooper Front page | perl.beginners | Postings from September 2009

best way to get number of elements in list value

Thread Next
From:
Roman Makurin
Date:
September 22, 2009 01:46
Subject:
best way to get number of elements in list value
Message ID:
20090922084659.GA21021@c3po.protva-net
Hi All!

right now im doing it in following way:

$size = @{[func_that_return_list_value]};

is there any best way to do it ? 

Thanks.

-- 
If you think of MS-DOS as mono, and Windows as stereo,
 then Linux is Dolby Digital and all the music is free...

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About