in reply to Re^3: How to check Inputs if Numeric
in thread How to check Inputs if Numeric

just a quick (final) note : ($nr+0 eq $nr ) is not perfect for checking on numbers in general, but it is a very good check for integer numbers.

It avoids perl complaining about casting as some other methods would and is pretty easy on resources