http://qs321.pair.com?node_id=1138102


in reply to Ternary vs. Sort vs. Max

For completeness, the preferred "artistic" solution:

my $n = [ $y => $x ] -> [ $x >= $y ];
BTW, this coding style question is discussed in the "Cleverness" section at the bottom of The Boy Scout Rule.