http://www.perlmonks.org?node_id=337880


in reply to Infinite loop yet no loop

I thought the recursion was the cause of it, so I deleted it to verify it, and it wasn't. It did the same thing again.

This is embarrassing, so forgive me (and heaven help me), but this sort of statement reminds me of a mistake that I still make on occasion: I have the script in an editor window, where I see the code that I've just changed, and I run it in a separate shell window... forgetting to notice that I hadn't done the "save buffer" command in the editor, or forgetting that I saved the modified "test/debug" version under a different path/name -- hence I'm still running the prior version of the script in that shell window. But I'm sure I'm the only one who ever does this...