Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: "Deep recursion" error

by Laurent_R (Prior)
on Jun 28, 2013 at 17:55 UTC ( #1041303=note: print w/ replies, xml ) Need Help??


in reply to "Deep recursion" error

The deep recursion message is not necessarily an error, it is a warning telling you that you have stacked more than 100 calls. But in this case, it tells you something useful, because you actially have an error.

In general, if you want to recurse, you need to pass at least one parameter to the function that is called recursively, so that it can work on a local copy of that parameter. Here, you don't pass any parameter to your start function. BTW the &start syntax is deprecated, use rather start() or start(list of params).


Comment on Re: "Deep recursion" error

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2015-07-02 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (46 votes), past polls