perldoc -f sort
sort sort's by cmp by default...
for numerical use
sort { $a <=> $b }
> -----Original Message-----
> From: Eric Wang [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 28, 2002 4:03 PM
> To: [EMAIL PROTECTED]
> Subject: the sort routine
>
>
>
> Hi People,
>
> I have this flat text file with numbers in it.
> I tried to use the sort routine but it seems like the numbers were not
> sorted at all.
>
> Help..
>
> Eric
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]