Except, I'm not trying to change my login shell, I'm trying to change the
shell in which the perl program runs.
Jay
----- Original Message -----
From: "Foo Lim" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 4:51 PM
Subject: Re: [vox-tech] Calling a shell pgm from perl to change ENV
> On Wed, 11 Jul 2001, Jay Strauss wrote:
>
> > One of a couple of more questions. But to preface, thanks for all the
help
> > so far
> >
> > I have a shell program with creates/changes the caller's environment.
> >
> > I want to call this from a perl program (and have the environment
setup)
> > but
> > the changes never exist after the execution. The script is being
called,
> > and during the script I do some "echo"s and everything is fine. Can't I
do
> > this??? for example
> > [...]
>
> Changing %ENV within the script will only change the child process'
> environment. It does not change the parent process' env. I don't know
> how to do this...yet, but I hope this puts you on the right track.
>
> FL
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com