Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: sorting columns and getting the largest ansd smallest values in each column

by LanX (Saint)
on May 10, 2011 at 15:13 UTC ( [id://903996]=note: print w/replies, xml ) Need Help??


in reply to sorting columns and getting the largest ansd smallest values in each column

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://903996]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found