in reply to Re: conditional print. Is correct to use it?
in thread conditional print. Is correct to use it?
> ($fo + 0 || 8) is parsed as ($fo + (0 || 8)) due to precedence.
It's not.
perl -MO=Deparse,-p -e 'print $fo + 0 || 8' print((($fo + 0) || 8));
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
|
---|
In Section
Seekers of Perl Wisdom