: I am required to modify an Environment variable from one value to another : using perl script. I can access the env. variables in the perl : script using ENV. How can i modify so that when I exit my perl script -- the : env. variable has new value. You can't. Perl scripts are child processes of the shell, and env vars set in a child process don't apply to the parent. Any children that your script spawns, however, will have the env var available to them, as will any command you exec. But you can't pass env vars up to the parent. (I'm assuming a csh-like shell. I presume this is true for bash as well.) -- tdk