in reply to Right way to force the reloading of a file

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.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: Right way to force the reloading of a file