You've completely missed the point of my post! I don't care about semantics, I care about whether the numeric operators (specifically the comparison operators for my needs) are defined. Either it's a native Perl number or it's an overloaded object (such as a BigInt). If it acts just like a number as far as Perl is concerned, then it's a number as far as I'm concerned.
In reply to Re^2: Detecting if a scalar has a number or string
by rrwo
in thread Detecting if a scalar has a number or string
by rrwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |