in reply to Re^2: Any way to simulate a Windows path handling for File::Spec without Windows?
in thread Any way to simulate a Windows path handling for File::Spec without Windows?
That will work on POSIX, where the volume is null, and on Windows, where the volume is syntactically equivalent to a leading directory name. If I recall correctly, that will not work on VMS, where the filename syntax clearly distinguishes between volume, directories, and (leaf) filename, and there may be other systems where that also breaks. It is best to go all the way with File::Spec if you can.
Of course, if you do not care about portability to VMS, that will not be a problem. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Any way to simulate a Windows path handling for File::Spec without Windows?
by nysus (Parson) on Sep 08, 2019 at 06:06 UTC | |
by jcb (Parson) on Sep 08, 2019 at 06:16 UTC | |
by nysus (Parson) on Sep 08, 2019 at 06:28 UTC |