0+"0 " is the same as 0 which is false. "0 " is true. Likewise 0+"0\n" is false while "0\n" is true.
- tye (but my friends call me "Tye")In reply to (tye)Re2: Why isn't "0\n" false?
by tye
in thread When does $_ get used?
by elbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |