in reply to Re: Exploiting Perls idea of what is a number
in thread Exploiting Perls idea of what is a number
$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...
|
|---|