The stupid question is the question not asked | |
PerlMonks |
Re: Better expression for $x = !!$y||0by prasadbabu (Prior) |
on Apr 19, 2005 at 08:12 UTC ( [id://449134]=note: print w/replies, xml ) | Need Help?? |
One way. update:$x=$y?0:1 is correct as ambs mentioned. Prasad
In Section
Seekers of Perl Wisdom
|
|