Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Length of 2-dimensional array

by extremely (Priest)
on Apr 06, 2001 at 00:40 UTC ( #70286=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Length of 2-dimensional array
in thread Length of 2-dimensional array

my $a = [[1,2,3],[4,5,6,7],[3]]; my $count = 0; $count += @$_ for @$a;

--
$you = new YOU;
honk() if $you->love(perl)


Comment on Re: Re: Re: Length of 2-dimensional array
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://70286]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2014-08-01 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (13 votes), past polls