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


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

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

pelagic

Replies are listed 'Best First'.
Re^2: Better expression for $x = !!$y||0
by salva (Canon) on Apr 19, 2005 at 10:08 UTC