![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are brokenby xdg (Monsignor) |
on Aug 19, 2013 at 10:49 UTC ( #1050011=note: print w/replies, xml ) | Need Help?? |
FYI: This has been opened as issue #49. Does this break on Linux It should. So that's a test suite coverage failure. I think I have a fix, but I have a broader question: Is there any reason to allow a raw volume like "C:" (no trailing slash) or "\\server\share" as a Path::Tiny "path"? Or should I be fixing those to have a trailing slash so they are properly understood as referencing the root directory of those volumes?
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.
In Section
Seekers of Perl Wisdom
|
|