LovePerling has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I'm executing a shell script from my perl script to set up the Environment
Need help to understand that how can I use the values that have been set by the shell in my current perl script
my $SID=shift; my $cmd="ksh /my_location/switchdb.ksh $SID"; system($cmd);
The above sets up value for ORACLE_HOME
But i'm still am not able to get that value back if i'm using $ENV{ORACLE_HOME}
Any help will be really appreciated.
Thanks, Anubhav
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Environment setting using shell
by Corion (Patriarch) on Jul 08, 2016 at 09:26 UTC | |
|
Re: Environment setting using shell
by FreeBeerReekingMonk (Deacon) on Jul 08, 2016 at 15:19 UTC |