--- Steve Main <[EMAIL PROTECTED]> wrote:
> Does anyone know how to set an environment variable in Perl and then
> have that variable persist after the Perl script has ended?
> I'm working in Unix.

Variables can be inherited by subshells, but never passed back up to a
parent process. You Perl script *cannot* set a value that will outlive
it.

You might be able to do some handwaving like having it exec() a child
shell that still has the value, and then having the parent shell exec()
the script, but it's shaky.

Anyone have a better idea?

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to