in reply to Changing ENV values locally

In addition to the options here, you can set the environment on the command-line:
$var = `env TERM=foo set`;