in reply to Setting TERMINAL_EMULATOR to vt100
perldoc perlvar, look for %ENV. What you're trying (unsuccessfuly) to do is starting a new shell, setting a variable, and then that shell exits. This leaves your environment unchanged. Not to mention the fact that system() usually runs /bin/sh instead of csh.
perldoc -q environment may also be tangentally of interest.
|
|---|