target has asked for the wisdom of the Perl Monks concerning the following question:
I have looked around for the answer to this question, but possibly just over looked it, so just point me to the right place if I missed it. I need to find the length of each array in an array of arrays, here's the code:
I know this code doesn't work, the for $k (0 .. $#array[$i]) line is simply a representation of what I would like to do.for $i (0 .. $#array) { for $k (0 .. $#array[$i]) { print "$array[$i][$k]"; } }
Back to
Seekers of Perl Wisdom