Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 romping around the Monastery: (7)
As of 2020-11-29 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?