Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Count elements in multidimensional arrays

by Paladin (Vicar)
on May 25, 2019 at 00:00 UTC ( #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? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2022-05-24 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?