Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How do I find the biggest number in an array of numbers.

by MrNobo1024 (Hermit)
on Feb 05, 2001 at 21:36 UTC ( [id://56446]=note: print w/replies, xml ) Need Help??


in reply to How do I find the biggest number in an array of numbers.

my $max = $list[0]; $_ > $max and $max = $_ for @list;

Replies are listed 'Best First'.
Re: Answer: How do I find the biggest number in an array of numbers.
by I0 (Priest) on Feb 06, 2001 at 01:46 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-04-23 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found