$ XXX=unset perl -E 'say "$$: XXX=$ENV{XXX}"; print `export XXX=xxx; echo \$\$: XXX=\$XXX`; say "$$: XXX=$ENV{XXX}"' 3494: XXX=unset 3495: XXX=xxx 3494: XXX=unset #### BEGIN { require Module; Module->import( LIST ); } #### ok $ENV{whatever} eq $whatever_expected_value, ... #### DYLD_LIBRARY_PATH=... ORACLE_HOME=... make test