Subject: | catpath on Win32 does not return correct DOS path delimiters |
File::Spec::Win32->catpath('D:\', 'application/logs') returns
'D:\\application/logs/' instead of 'D:\\application\\logs'. The results
may work fine when used in Perl, but should be done right so they can be
pushed right out when a DOS path is expected.
The current work around is to call it within canonpath():
canonpath(catpath('D:\', 'application/logs'))
Documentation isn't clear on this behavior.
broken since File::Spec::Win32 v1.5