> -----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 exporting system
> environment
> variables?
>
> I'm new to this but here's my idea, setting them on the
> system directly,
> using PATH as an example:
>
> `PATH=$PATH:/usr/bin/perl`
> `export $PATH`
>
In Perl all env vars in the hash %ENV
read it $a = $ENV{PATH}
write it $ENV{"$a:/usr/bin/perl"}
but if you start a perl script it runs in a own subshell. The changes have no
effects to the main shell
and all changes are only in the subshell activ.
> or maybe
>
> `export PATH=/usr/bin:/etc:.`
>
> I don't do 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 export perl variables for use when run in
> backticks?
>
> -mike
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]