|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Sorting an array of linesby CharlesClarkson (Curate) |
| on Feb 12, 2002 at 06:46 UTC ( #144792=note: print w/ replies, xml ) | Need Help?? |
|
Since you have some leading spaces in your lines, I used column 8 for the sort instead of column 7. '-8n' means sort descending on column 8 numerically.
HTH, Charles K. Clarkson Clarkson Energy Homes, Inc.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||