in reply to Changing ENV values locally
Update: rephrased to lessen the emphasis on the second (non-local) solution which is just an example of another possibility and not an advocation of the 'right' (or even 'good') way.my $save_term = $ENV{TERM}; $ENV{TERM} = "foo"; print `echo a \$TERM`; $ENV{TERM} = $save_term;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Changing ENV values locally
by halley (Prior) on Jul 02, 2005 at 19:48 UTC | |
by BrowserUk (Patriarch) on Jul 02, 2005 at 20:25 UTC |