Hi...
Does anyone know how to actually, set an ENVIROMENT variable in a Perl script, so that it stays "SET" in the actual OS enviroment once the script is finished running?
Example:
If I use in my script: $ENV{"PATH"}="/foo/folder";
Once the script runs, I want to be able run from AIX command line:
=> echo $PATH
and actually see that it has been set to /foo/folder....
NOTE: I'm aware that once I run the script the env settings it sees are the child ones, and once the cript is finished running those env settings die with it, I WANT A WAY TO GET AROUN THIS!!!!
Thanks....
Does anyone know how to actually, set an ENVIROMENT variable in a Perl script, so that it stays "SET" in the actual OS enviroment once the script is finished running?
Example:
If I use in my script: $ENV{"PATH"}="/foo/folder";
Once the script runs, I want to be able run from AIX command line:
=> echo $PATH
and actually see that it has been set to /foo/folder....
NOTE: I'm aware that once I run the script the env settings it sees are the child ones, and once the cript is finished running those env settings die with it, I WANT A WAY TO GET AROUN THIS!!!!
Thanks....