in reply to Perl/UNIX .profile problem
The .profile is executed in a separate shell, which loads all the values, and then exits again, making all changes to the environment void. So you will need to employ something like tillys RE (tilly) 3: Get default login environment, which will import the environment set up by a shell script into the environment of the calling Perl process.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl/UNIX .profile problem
by Ronnie (Scribe) on Nov 18, 2004 at 10:45 UTC | |
by Happy-the-monk (Canon) on Nov 18, 2004 at 11:24 UTC |