The stupid question is the question not asked | |
PerlMonks |
Re: Better expression for $x = !!$y||0by salva (Canon) |
on Apr 19, 2005 at 13:11 UTC ( [id://449226]=note: print w/replies, xml ) | Need Help?? |
for maximum readibility and if you are doing this kind of conversion in more than one place, you can also create a new "booleanize" operator:
In Section
Seekers of Perl Wisdom
|
|