"Also - what other languages treat '0' as false?"
It would be horrible if "0" were treated as true, given that the integer 0 is false and Perl silently converts between strings and numbers.
What other languages? PHP does.
In reply to Re^3: Wrong idioms
by tobyink
in thread Wrong idioms
by McA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |