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.
In reply to Re^2: Misunderstanding Recursion
by blazar
in thread Misunderstanding Recursion
by Andrew_Levenson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |