in reply to variable has numeric value?

See also looks_like_number in Scalar::Util