Home: Perl Programming Help: Win32 Programming Help:
adding environment variables using perl script



rajjj
Novice

Sep 25, 2006, 7:47 AM


Views: 7605
adding environment variables using perl script

hi all

can anybody help me to add environment variables using perl script.

I need to add environment variables like "ORACLE_HOME", etc.

thanks in advance


KevinR
Veteran


Sep 25, 2006, 12:56 PM


Views: 7604
Re: [rajjj] adding environment variables using perl script

$ENV{'ORACLE_HOME'} = 'some value';

that will only last while the perl program is running though.
-------------------------------------------------