Ignorance

Sometimes you wonder how you didn't know something for so long. In this case, it is using a conditional expression in conjunction with a for loop.

perl -e '$mx = $_ > $mx ? $_ : $mx for ( 1, 6, 2, 3, 5, 4 ); print "$mx\n"'