Just another Perl shrine | |
PerlMonks |
Re^2: Misunderstanding Recursionby blazar (Canon) |
on Dec 16, 2006 at 12:27 UTC ( [id://590196]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|