Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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'


Comment on Re^2: Number of elements in array

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-09-17 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (57 votes), past polls