Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Number of elements in array

by tobyink (Abbot)
on Sep 24, 2012 at 14:03 UTC ( #995391=note: print w/replies, xml ) Need Help??


in reply to Re: Number of elements in array
in thread Number of elements in array

This counts the number of rows. The OP was counting the number of columns.

Of course, it's possible that the OP did actually want the number of rows...

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995391]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2016-12-06 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (99 votes). Check out past polls.