Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Misunderstanding Recursion

by blazar (Canon)
on Dec 16, 2006 at 12:27 UTC ( [id://590196]=note: print w/replies, xml ) Need Help??


in reply to Re: Misunderstanding Recursion
in thread Misunderstanding Recursion

Instead you appear to be modifying global variables. In fact, it doesn't really look like a "traditional" recursive algorithm at all.

In which case, if one really needed to do so, then it may be better to use magic goto rather than standard sub call.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-20 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found