Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: How can I sort this data on the first field

by chas (Priest)
on Apr 25, 2005 at 12:33 UTC ( [id://451157]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I sort this data on the first field
in thread How can I sort this data on the first field

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.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://451157]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-18 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found