You're viewing a comment by Dave Cross and its responses.

November 10, 2011, 14:32

#115 doesn't increment numbers, it increments integers. And it has a strange effect on floating point numbers. For example, 3.14 is changed to 4.15.

$ perl -E'$_=3.14; s/(\d+)/$1+1/ge; say'

Comment Responses

November 10, 2011, 15:00

Thanks for the insightful comments Dave!

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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