Re: Env for Cmds run in backticks

2001-10-05 Thread Luke Bakken
He wants to affect the environment of the process he's calling. Try this: $frazzle = 'exported string'; $ENV{'FRAZZLE'} = $frazzle; $output = `ksh -c \'print \$FRAZZLE\'`; print $output; On Thu, 4 Oct 2001, Brett W. McCoy wrote: > On Thu, 4 Oct 2001, Kingsbury, Michael wrote: > > > Is there

RE: Env for Cmds run in backticks

2001-10-04 Thread Helmut Steinbach (QED)
> -Original Message- > From: Gary L. Armstrong [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 3:09 AM > To: [EMAIL PROTECTED] > Subject: RE: Env for Cmds run in backticks > > > I would guess you are actually asking about exportin

RE: Env for Cmds run in backticks

2001-10-04 Thread Gary L. Armstrong
a lot with env vars, and shells are all different, mileage may vary, etc. -=GLA=- -Original Message- From: Kingsbury, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 2:50 PM To: '[EMAIL PROTECTED]' Subject: Env for Cmds run in backticks Is there a way to expo

Re: Env for Cmds run in backticks

2001-10-04 Thread Brett W. McCoy
On Thu, 4 Oct 2001, Kingsbury, Michael wrote: > Is there a way to export perl variables for use when run in backticks? What do you mean? Variables interpolate inside of backticks (unless you are silly enought to do qx'', and then they won't). -- Brett