This code will also fill up the stack as re_scan calls itself endlessly (Perl should even have warned you about "Deep recursion"). I'd really recommend you read up on recursion (e.g. Modern Perl: Recursion) and how to turn it into iteration, for example here: http://www.refactoring.com/catalog/replaceRecursionWithIteration.html
In reply to Re^6: how to move the folder from one directory to another directory?
by Anonymous Monk
in thread how to move the folder from one directory to another directory?
by vasuperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |