in reply to truth in while condition
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: truth in while condition
by TISON (Acolyte) on Sep 30, 2018 at 11:33 UTC | |
by LanX (Saint) on Sep 30, 2018 at 12:10 UTC | |
by TISON (Acolyte) on Sep 30, 2018 at 12:24 UTC |