Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to get the size of a 2D array

by agoth (Chaplain)
on Jun 29, 2001 at 13:24 UTC ( [id://92568]=note: print w/replies, xml ) Need Help??


in reply to how to get the size of a 2D array

look at:
my @ary = ( [12,13,14,15], [67,68,69,70,71]); print scalar(@{ $ary[1] }); $var = @{ $ary[1] }; print $var;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2024-04-23 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found