The clean way to solve your problem is to extract all the "interesting" code into a subroutine that takes configuration data as parameter(s), and put that in a module and export it.
The existing script can then call this subroutine, as well as your recursive script.
In reply to Re: Right way to force the reloading of a file
by moritz
in thread Right way to force the reloading of a file
by throop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |