shreedara has asked for the wisdom of the Perl Monks concerning the following question:
for some reason, perl script is not setting up this environment variable. If i use all 'setenv' in one line using semicoln as shown above, it prompts the error message "sh setenv command not found", But if i use 'setenv' one per lin then there is no error mesg but ENV variable is not setting. Pls help me how can i setup multiple ENV variables and run the application. FYI : I am using Fedora Linux 4 and Perl V5.8.6sub cimages { system("setenv GENESIS_DIR /genesis/customers/ckt-imgs;setenv GENE +SIS_EDIR /genesis/e90;/genesis/e90/get/get"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl & Cshell
by Hue-Bond (Priest) on May 11, 2006 at 13:42 UTC | |
|
Re: Perl & Cshell
by liverpole (Monsignor) on May 11, 2006 at 14:06 UTC | |
|
Re: Perl & Cshell
by blazar (Canon) on May 11, 2006 at 14:12 UTC | |
by Tanktalus (Canon) on May 11, 2006 at 23:21 UTC | |
|
Re: Perl & Cshell
by derby (Abbot) on May 11, 2006 at 14:04 UTC | |
by cdarke (Prior) on May 11, 2006 at 14:44 UTC |