You're replying to a comment by Dave Cross.

November 10, 2011, 14:29

#113 checks that the string is a positive integer - not any number. It doesn't allow the use of a minus sign or a decimal point.

You're probably better using the number regexes in Regexp::Common or the fucntion looks_like_number in Scalar::Util.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "computer": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.