go ahead... be a heretic | |
PerlMonks |
Re: Count elements in multidimensional arraysby Paladin (Vicar) |
on May 25, 2019 at 00:00 UTC ( [id://11100501]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|