in reply to Persistent Perl Interpreter

You might be able to change the system calls into dos. That would run them in the current environment. The only thing I think you might have to worry about is global variables persisting from one test to the next.

Caution: Contents may have been coded under pressure.