in reply to Re^2: using int and the range function
in thread using int and the range function

We would also take into account sign or '0x' prefix for hexadecimal numbers. This way we will end up reimplementing Scalar::Util::looks_like_number() what AnomalousMonk suggested below.