in reply to Re^5: how to move the folder from one directory to another directory?
in thread how to move the folder from one directory to another directory?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: how to move the folder from one directory to another directory?
by james28909 (Deacon) on Dec 28, 2014 at 23:14 UTC | |
by Anonymous Monk on Dec 28, 2014 at 23:20 UTC | |
by james28909 (Deacon) on Dec 28, 2014 at 23:35 UTC |