in reply to Re: Detecting if a scalar has a number or string
in thread Detecting if a scalar has a number or string
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Detecting if a scalar has a number or string
by dragonchild (Archbishop) on Nov 18, 2004 at 18:54 UTC | |
Re^3: Detecting if a scalar has a number or string
by davido (Cardinal) on Nov 18, 2004 at 23:52 UTC | |
by tye (Sage) on Dec 15, 2004 at 18:54 UTC | |
by davido (Cardinal) on Dec 15, 2004 at 23:24 UTC |