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
> -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
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
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