# New Ticket Created by  Jarkko Haapalainen 
# Please include the string:  [perl #131737]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131737 >


Problems running Perl6 programs on network drive and when using IO.dirname. 
File paths get cluttered.
Running examples on drive Z:
EXAMPLE:
my $path = 'c:\foo\bar\file.txt';
say $path;
say $path.IO.dirname;
say $path.IO.absolute;
say $path.IO.dirname.IO.absolute;
OUTPUT:
c:\foo\bar\file.txt
\foo\bar
C:\foo\bar\file.txt
Z:\foo\bar
EXPECTED RESULT:
c:\foo\bar\file.txt
c:\foo\bar
C:\foo\bar\file.txt
C:\foo\bar
VERSION INFORMATION:
perl6 -v
This is Rakudo version 2017.04.3 built on MoarVM version 2017.04-53-g66c6dda 
implementing Perl 6.c.
Best regards,

--
Jarkko

Reply via email to