Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Ternary vs. Sort vs. Max

by fullermd (Priest)
on Aug 11, 2015 at 04:25 UTC ( #1138112=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($x < $y ) {
        $max = $y;
    ...
    else {
        $max = $x;
    }
    
  2. or download this
    $max = $x;
    if($x < $y) {
        $max = $y;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1138112]
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: (6)
As of 2021-01-16 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?