Subject: | File::Spec::Cygwin doesn't handle UNC names properly |
UNC style files name can be used in Cygwin, but they are not handled properly by File::Spec::Cygwin.
$ perl -MFile::Spec::Win32 -e "print(join('|',File::Spec::Win32->splitpath('//
usvwoaahs99/home1$/chapmat/myfile')));"
//usvwoaahs99/home1$|/chapmat/|myfile
chapmat@usvwoaahc201722 ~
$ perl -MFile::Spec::Cygwin -e "print(join('|', File::Spec::Cygwin->splitpath('
//usvwoaahs99/home1$/chapmat/myfile')));"
|//usvwoaahs99/home1$/chapmat/|myfile