Hi Guys,
I have a batch file containing the global variables that I am calling within the second batch file. Now, I want to call these global variables in Perl script instead of the second batch file. How to do that?
Here's what I am doing (two steps):
1. I have a batch file called: set_global_variables_odb.bat that contains:
SET gOracle_SID=ABCD
SET gOPWD_AGE_RATE=EFGHI
SET gOPWD_admin=JKLMNO
2. In the calling batch file I am doing:
call Set_Global_Variables_ODB.bat
echo %gOPWD_admin%
echo %gOPWD_AGE_RATE%
echo %gOracle_SID%
pause
----------------------------------------------
Now, I want to use perl instead of (2) calling batch file to call these variables. Does someone know how to do that in Perl? Sorry, I am new to Perl.
Thanks a bunch in advance.
G
I have a batch file containing the global variables that I am calling within the second batch file. Now, I want to call these global variables in Perl script instead of the second batch file. How to do that?
Here's what I am doing (two steps):
1. I have a batch file called: set_global_variables_odb.bat that contains:
SET gOracle_SID=ABCD
SET gOPWD_AGE_RATE=EFGHI
SET gOPWD_admin=JKLMNO
2. In the calling batch file I am doing:
call Set_Global_Variables_ODB.bat
echo %gOPWD_admin%
echo %gOPWD_AGE_RATE%
echo %gOracle_SID%
pause
----------------------------------------------
Now, I want to use perl instead of (2) calling batch file to call these variables. Does someone know how to do that in Perl? Sorry, I am new to Perl.
Thanks a bunch in advance.
G