in reply to
How can I sort this data on the first field
Chady
: Yes, but that only works if the number remains exactly two characters long. I highly doubt that is the case.
Comment on
Re: How can I sort this data on the first field
Replies are listed 'Best First'.
Re^2: How can I sort this data on the first field
by
chas
(Priest)
on Apr 25, 2005 at 12:33 UTC
What if you use
print sort {$a<=>$b} <DATA>;
?
chas
(Update: Posted after reading an unrefreshed page and didn't realize
Roy Johnson
had already suggested the same thing.)
[reply]
[d/l]
In Section
Seekers of Perl Wisdom