laziness, impatience, and hubris | |
PerlMonks |
Re: sorting array of arraysby hippo (Bishop) |
on Jan 18, 2020 at 17:27 UTC ( [id://11111574]=note: print w/replies, xml ) | Need Help?? |
Your sorting code treats each element of @ar as an array when it is instead an array ref. Using warnings would have alerted you to that.
In Section
Seekers of Perl Wisdom
|
|