ThierryLam wrote: > > 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(...)?
You urgently need to update your version of Perl. Version 5.3 is nearly twelve years old now and you will find very few people running it. The problem you described doesn't appear on Version 5.8. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/