http://www.perlmonks.org?node_id=449138


in reply to Better expression for $x = !!$y||0

$x = $y ? 1 : 0;
and: timtowtdi ...

pelagic