in reply to Include perl lib or ENV in a do file.pl?

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.

Replies are listed 'Best First'.
Re^2: Include perl lib or ENV in a do file.pl?
by Your Mother (Archbishop) on Mar 30, 2009 at 21:48 UTC

    I'm a jackass. I tried that. Except of course I spelled it PERL5_LIB... Sigh. Thank you!