You haven't chomped the newline.
johngg@shiraz:~/perl/Monks$ perl -E ' $_ = qq{0\n}; say $_ ? q{True} : q{False}; chomp; say $_ ? q{True} : q{False};' True False
Cheers,
JohnGG
In reply to Re: truth in while condition
by johngg
in thread truth in while condition
by TISON
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |