$a eq $b || $a == $b
I think I was too early with my response. Your suggestion, as elegant as it looks, would fail if $a and $b are unequal strings. In this case $a eq $b would result false, and $a == $b would be evaluated, yielding an error message because the arguments are not numeric...
In reply to Re^2: Exploiting Perls idea of what is a number
by rovf
in thread Exploiting Perls idea of what is a number
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |