more useful options | |
PerlMonks |
Re: sorting columns and getting the largest ansd smallest values in each columnby LanX (Saint) |
on May 10, 2011 at 15:13 UTC ( [id://903996]=note: print w/replies, xml ) | Need Help?? |
the routine sortSub was taken from Re: How would I sort a two-dimensional array by multiple columns? And AFAIS the first parameter should be an array-reference of the table. So IMHO you could change sortSub(@colArray, 0, 1, 3); to sortSub(\@colArray, 0, 1, 3);.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|