sort will sort like windows does with filename if you do this that way.
example
sort do:
1, 16, 20, 3, 35, 4, 400
not:
1,3,4,16,20,35,400....

> -----Ursprüngliche Nachricht-----
> Von: Ramprasad A Padmanabhan [mailto:[EMAIL PROTECTED]]
> Gesendet am: Freitag, 30. August 2002 10:39
> An: [EMAIL PROTECTED]
> Betreff: Re: find the lowest number?
>
> David Samuelsson wrote:
> > i get an array conataining a lot off numbers like this:
> >
> > 567
> > 551
> > 540
> > 540
> > 540
> > 533
> > 531
> > 526
> > 493
> > 476
> > 468
> > 429
> > 421
> > 520
> >
> > how do i find the lowest or the higest number in this series?
> >
> > //Dave
>
> @a = qw(121 23 31 4 11);
>
> print "LOWEST " . (reverse sort @a )[0];
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to