T
Thierry
On Windows XP Pro 32 bit, if I want to output environment variables
PYTHON or ProgramFiles, I use the set command which output the
following:
C:\set PYTHON
PYTHON=C:\Python24\python.exe
C:\set ProgramFiles
ProgramFiles=C:\Program Files
If I used Perl 5.003_07 and use the system subroutine to show the
environment variables, I get the following. Perl script is:
system("set PYTHON");
system("set ProgramFiles");
Output is:
PYTHON=C:\Python24\python.exe
PROGRAMFILES=C:\Program Files
You'll notice that through system, the environment variable
ProgramFiles is all in upper case. Is there a way to preserve the
mixed case of the environment variable through system(...)?
PYTHON or ProgramFiles, I use the set command which output the
following:
C:\set PYTHON
PYTHON=C:\Python24\python.exe
C:\set ProgramFiles
ProgramFiles=C:\Program Files
If I used Perl 5.003_07 and use the system subroutine to show the
environment variables, I get the following. Perl script is:
system("set PYTHON");
system("set ProgramFiles");
Output is:
PYTHON=C:\Python24\python.exe
PROGRAMFILES=C:\Program Files
You'll notice that through system, the environment variable
ProgramFiles is all in upper case. Is there a way to preserve the
mixed case of the environment variable through system(...)?