in reply to No recursion depth limit?

You can get a hard recursion limit and thus similar behaviour as e.g. in python with:

 use warnings FATAL => 'recursion';

Just wondering: Do people here actually use this statement?

Replies are listed 'Best First'.
Re^2: No recursion depth limit?
by Your Mother (Archbishop) on Sep 10, 2015 at 15:21 UTC

    I almost always use strictures; which makes warnings fatal. So, the answer is "yes" in a slightly roundabout way; see strictures. Oh, say… I just "saw" the documentation and while recursion is a fatal in strictures v1, which I'm still using in production, it is a plain warning in v2. Hmmmm, not sure how I feel about that. I see the rationale is that it will cause an error if it's going to so why stop it at some early, semi-arbitrary point. Well, alllllllrighty then.