in reply to Determing "numeric value" of string?
Slightly evil deep mojo, but dualvar from Scalar::Util lets you make a scalar that behaves like $! (string when used as a string, numeric when used as a number). Alternately overload numerification.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|