in PERL all TESTEXPRESSIONs are converted to strings |
Either the null string or string '0' (same as "0") is evaluated as FALSE |
Everything else evaluates as TRUE |
Results of comparison operators are what you expect
|
Note the numeric number 0 is converted to "0" and is FALSE as is numeric computation 1-1 |
The string "0.000" evaluates as TRUE |