1. $rv = `export JAVA_HOME=/path/here`;
2. system(". setEnv.sh");
Syntax is right. But when script is done, environment variables did not set. I think both methods above fork another shell to finish the job. Actually i want it to run on current shell. Is that possible? thanks,In reply to UNIX environment setup via perl by perlisfun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |