Trina Espinoza wrote: > > Does anyone know how to set an shell enviroment using perl? I > have tried using the backticks, the system command, but they > don't seem to be working. I found ENV{'FLEE'} = 'FLEE'; online, > but I don't understand how that works. It sets your enviroment > for a child process but won't change your current environment, > is that right? If anyone has suggestions I am all ears.
You can change the current environment and you can set a child's environment before it runs but you can't change your parent's environment. Modifying %ENV does change the current environment however backticks and system() run as a separate process and so do not effect the current environment. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]