Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Count elements in multidimensional arraysby BillKSmith (Monsignor) |
on May 25, 2019 at 12:23 UTC ( [id://11100511]=note: print w/replies, xml ) | Need Help?? |
Paladin has already shown that you could have found your error yourself if you had used the pragmas "strict" and "warnings". Also note that a little extra whitespace to align your array definition can make it easier to read. That alone can help to avoid errors in accessing them.
Bill
In Section
Seekers of Perl Wisdom
|
|