Jeff Westman wrote:
I need to do a sort on a couple of column ranges.

I want to be able to do a primary sort, on say, columns 21-25 and then a secondary sort on columns 40-49.

Any ideas on how to approach this?

Yes.

1. Check out the docs for the sort() function.

2. Check the Perl FAQ:

    perldoc -q "How do I sort an array by (anything)?"

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to