Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Count elements in multidimensional arrays

by Paladin (Vicar)
on May 25, 2019 at 00:00 UTC ( [id://11100501]=note: print w/replies, xml ) Need Help??


in reply to Count elements in multidimensional arrays

In the second one you are assigning to $ar1 which isn't @ar1. If you used strict and warnings you would have been warned about this.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-19 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found