We don't bite newbies here... much | |
PerlMonks |
Re: assigning the maximum of two numbersby sauoq (Abbot) |
on Nov 02, 2005 at 23:25 UTC ( [id://505179]=note: print w/replies, xml ) | Need Help?? |
So, can you think of any other ways, and are any of them faster than List::Util? I think this is elegant... I don't know how it would compare, but I'd expect favorably. I, like Aristotle, am not interested in the efficiency difference enough to benchmark. By the way, you can use that technique inline and avoid the function call (if you are really trying for efficiency.)
-sauoq "My two cents aren't worth a dime.";
In Section
Meditations
|
|