Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2014-10-23 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls