RE: set environment variables

2005-07-18 Thread arjun.mallik
- TELECOM SOLUTIONS) Cc: [EMAIL PROTECTED]; beginners@perl.org Subject: Re: set environment variables "Because it's up-side down. Why is that? It makes replies harder to read. Why not? Please don't top-post." - Sherm Pendley, Mac OS X list [EMAIL PROTECTED] wrote: > Hi , &g

Re: set environment variables

2005-07-18 Thread Wiggins d'Anconia
"Because it's up-side down. Why is that? It makes replies harder to read. Why not? Please don't top-post." - Sherm Pendley, Mac OS X list [EMAIL PROTECTED] wrote: > Hi , > Try below. > If you are using csh for executing perl script --> system("setenv > TEMPHOME /tmp "); > If your using bas

RE: set environment variables

2005-07-18 Thread arjun.mallik
Hi , Try below. If you are using csh for executing perl script --> system("setenv TEMPHOME /tmp "); If your using bash for executing perl script -> $TEMPHOME = "/tmp"; system("export $TEMPHOME"); Arjun Deserve before you desire -Original Message- From: Nishi Pra

Re: set environment variables

2005-07-18 Thread Nishi Prafull
I ttied it inside the perl script, but does not seem to work. I did a echo for $TEMPHOME but it was not set. On 7/18/05, John W. Krahn <[EMAIL PROTECTED]> wrote: > Nishi Prafull wrote: > > Hi: > > Hello, > > > I need to run a script noted by $cmd1 from within perl but before that > > i need to

Re: set environment variables

2005-07-18 Thread Scott R. Godin
Nishi Prafull wrote: On 7/18/05, John W. Krahn <[EMAIL PROTECTED]> wrote: Nishi Prafull wrote: Hi: Hello, I need to run a script noted by $cmd1 from within perl but before that i need to set the environment variable. how can i do it? I tried my $TEMPHOME = "/tmp"; system($cmd1); But th

Re: set environment variables

2005-07-18 Thread John W. Krahn
Nishi Prafull wrote: > Hi: Hello, > I need to run a script noted by $cmd1 from within perl but before that > i need to set the environment variable. how can i do it? > I tried > my $TEMPHOME = "/tmp"; > system($cmd1); > > But the script still complains the $TEMPHOME is not set. > Thanks. You pr