in reply to Re^2: How can I test for the representation of an integer?
in thread How can I test for the representation of an integer?
Feels like it should be in Scalar::Util
I don't think I would trust Scalar::Util to not fiddle about with the wrapping.
For example, Scalar::Util's looks_like_number() returns true for a Math::BigInt object, even though the looks_like_number() XS function would return false.
Cheers,
Rob