$largest = (sort { $b <=> $a } @array)[0]

> -----Original Message-----
> From: Konrad Foerstner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 12:38 PM
> To: [EMAIL PROTECTED]
> Subject: find biggest number
> 
> 
> Hi,
> 
> Im looking for a method to exact the
> biggest element (number) out of array. 
> Does anyone know a function for that?
> 
> cu
> 
> Konrad
> 
> -- 
> 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]

Reply via email to