Setting $ENV{PERL5LIB} seems workable. Alternately, you could use system( $^X, '-I', @libs, $test_file ), if they don't have to run in process.
You might need to post more details about the extra setup for the new tests if neither approach works well.
In reply to Re: Include perl lib or ENV in a do file.pl?
by chromatic
in thread Include perl lib or ENV in a do file.pl?
by Your Mother
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |