Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Deep recursion on subroutine

by Laurent_R (Parson)
on Sep 04, 2013 at 18:03 UTC ( #1052407=note: print w/ replies, xml ) Need Help??


in reply to Deep recursion on subroutine

The way to silence the warning, if you are *really* sure that your program and your data will not lead you into too deep (or "infinite") recursion:

no warnings 'recursion';

This warning otherwise occurs when you go beyond 100 recursion levels. There are cases where you may be happy to go to 1000 levels.


Comment on Re: Deep recursion on subroutine
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052407]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-12-19 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls