Then use $a == $b. The $a eq $b || is just obfuscation. The only thing it changes is that it prevents warnings when given two equal, non-numeric strings (because if $a eq $b, then it will also be true that $a == $b).
- tye
In reply to Re^4: Exploiting Perls idea of what is a number (oops)
by tye
in thread Exploiting Perls idea of what is a number
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |