in reply to Re: Detecting if a scalar has a number or string
in thread Detecting if a scalar has a number or string

Counting on stringification is an interesting idea, but not reliable. Suppose I have a roman numerals class that behaves just like numeric variables, but outputs as roman numerals in string context?

  • Comment on Re^2: Detecting if a scalar has a number or string