in reply to Re^2: Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are broken
in thread Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are broken
C: does not reference the root directory of a volume
I understand that. What I'm trying to get guidance on is how likely it is that people would use "C:" and not mean the root directory.
If I understand you correctly, what probably needs to happen is to immediately turn C: into the absolute path for cwd on that volume via getdcwd.
Is that right?
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are broken
by Corion (Patriarch) on Aug 19, 2013 at 13:02 UTC | |
by xdg (Monsignor) on Aug 19, 2013 at 15:53 UTC | |
by Anonymous Monk on Aug 20, 2013 at 09:04 UTC | |
by choroba (Cardinal) on Aug 20, 2013 at 09:13 UTC | |
by Corion (Patriarch) on Aug 20, 2013 at 09:13 UTC | |
by Anonymous Monk on Aug 20, 2013 at 09:14 UTC | |
|
In Section
Seekers of Perl Wisdom