I like this gem (from Effective Perl Programming by Joseph Hall) for determining the highest value of $x and $y:
$highestvalue = [ $x => $y ] -> [ $x <= $y ]
Very pretty :)
cLive ;-)
In reply to Re: getting the highest value in a simpler way
by cLive ;-)
in thread getting the highest value in a simpler way
by replicant4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |