Sandy has asked for the wisdom of the Perl Monks concerning the following question:
I would like to run a small perl program that modifies the environment variables, that do not disappear when the program exits. In other words, the perl can't execute as a child process.
In tcsh, one can 'source' another tcsh script. Is there similar kind of thing for executing perl?
PS: I'm working on solaris.
Sandy
UPDATE: I'm using tcsh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Keeping environment variables after perl has exited
by merlyn (Sage) on Feb 19, 2004 at 16:08 UTC | |
|
Re: Keeping environment variables after perl has exited
by Abigail-II (Bishop) on Feb 19, 2004 at 16:27 UTC | |
|
Re: Keeping environment variables after perl has exited
by Old_Gray_Bear (Bishop) on Feb 19, 2004 at 16:12 UTC | |
by Abigail-II (Bishop) on Feb 19, 2004 at 16:31 UTC | |
by Sandy (Curate) on Feb 19, 2004 at 22:53 UTC | |
|
Re: Keeping environment variables after perl has exited
by BrowserUk (Patriarch) on Feb 19, 2004 at 16:46 UTC | |
|
Re: Keeping environment variables after perl has exited
by bean (Monk) on Feb 19, 2004 at 21:12 UTC |