means that script1.pl etc. all run in the same process space as masterscript.pl. (Is this intended? Any leftover variables from one script will leak over to the next.) This means you can dup
before running the various scripts, which is only half a solution so far. Before proceeding, is this what you want to do?