Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Finding the max()/min()

by dvo (Initiate)
on Nov 05, 2011 at 08:33 UTC ( #936120=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Finding the max()/min()
in thread Finding the max()/min()

This is the variant I found most straightforward to use:

use List::Util qw[min max]; $m = max(1,2);


Comment on Re^4: Finding the max()/min()
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2015-07-06 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls