I need to sort each of these lines by date(20000407 in this example), which if you split the above line by whitespace (split(/\s+/, $line), makes the date the 4th item (3) in the resultant array given by the split function..
I'm running into all sorts of problems with sort b/c of that whole ASCIIbetical thing, and the fact that I can't seem to get the $a and $b to point to the right items to sort by.
Can anyone offer any examples of reading from a file, and sorting by a particular field, and then outputting that resultant sorted array?
Thanks so much. When I can't understand the examples in the O'Reilly book I start to worry...