|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^2: How can I sort this data on the first fieldby chas (Priest) |
| on Apr 25, 2005 at 08:33 UTC ( [id://451157]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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.)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||