Subject: | canonpath broken for UNC names that use backslashes |
When a UNC name is specified with backslashes, the double-backslash at the front needs to be maintained.
$ ./perl -MFile::Spec::Win32 -e "print(join('|', File::Spec::Win32->canonpath('\\usvwoaahs99\home1$\chapmat\..\myfile')));"
\usvwoaahs99\home1$\myfile