Subject: | catdir turns Win32 drive letter to uppercase |
On Windows I'm completely handicapped, so forgive me that I cannot provide more facts than this. I installed a strawberry perl 5.20.1 (File::Spec::VERSION is 3.48) and observed the following behaviour:
use File::Spec; print File::Spec->catdir("d:\\d","d");
Prints: D:\d\d
I consider the upcasing of the drive letter a bug. Or at least undocumented behaviour. And a regression, because on that box there is also a perl 5.8.8 with File::Spec 3.12 which does not turn the drive letter into uppercase.
Maybe it's a strawberry bug, I have no experience with comparing arbitrary perls on a Windows box, so I hope others can provide more evidence.
Thanks,