in reply to variable type

You should also know about Scalar::Util's function, looks_like_number.

We're building the house of the future together.