On Tue, Feb 7, 2012 at 7:30 AM, Nicholas Clark <n...@ccl4.org> wrote:
> *) why this didn't show up on the smoker. Is it possible on Win32 to > globally > configure whether the reported name of the second HD is "d:" or "D:"? > Doubt it. In line with being case-sensitive yet case-preserving, the system just remembers the spelling used: C:\>perl -MCwd -E"chdir 'c:\\WiNdOwS'; say getcwd(); system('cmd')" c:/WiNdOwS Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. c:\WiNdOwS>exit C:\>perl -MCwd -E"chdir 'C:\\Windows'; say getcwd();" C:/Windows Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows>exit Note that File::Spec canonising the drive letter to uppercase is proper. - Eric