Dr.Ruud wrote: > ThierryLam schreef: > >> 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 need a newer Perl. > > > What does this show you? > > C:> perl -wle "print qq{$_=$ENV{$_}} for keys %ENV;"
All of the keys of %ENV are capitalized for Windows as the environment variable names aren't case-sensitive. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/