Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Double Sort Rephrasedby mkmcconn (Chaplain) |
on Jul 22, 2002 at 22:58 UTC ( [id://184278]=note: print w/replies, xml ) | Need Help?? |
You want to sort the whole row as a string, then sort on the first column numerically, correct?
UPDATED My mistake- I thought you were asking a perl perlfunc:sort question, rather than Gnu sort. (I also didn't realize that this was a mid-thread revision of the subj. line .). For a perl question, then you would be looking for...
(I think..) UPDATED2 Gnu sort's index starts with 0. The last column would be "2" not "3". Does this help, rchou2? mkmcconn
In Section
Seekers of Perl Wisdom
|
|