in reply to check if 2 values are equal
Perhaps looks_like_number from Scalar::Util would be of use?