New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chdir "path/"; "subdir".IO.dir drops the first character #5298
Comments
From roam@ringlet.netCreate a directory containing a couple of files: mkdir -p some/path/stuff Then try to list the files: [roam@straylight:pts/22 ~/lang/perl]$ perl6 -e 'use v6.c; chdir "some"; "path".IO.dir.perl.say' ("path/stuff".IO(:SPEC(IO::Spec::Unix),:CWD("/home/roam/lang/perl/some")), "path/only-a-test.txt".IO(:SPEC(IO::Spec::Unix),:CWD("/home/roam/lang/perl/some"))).Seq [roam@straylight:pts/22 ~/lang/perl]$ perl6 -e 'use v6.c; chdir "some/"; "path".IO.dir.perl.say' Note the "ath/" prefix in the second case. Confirmed by perlpilot on IRC. G'luck, -- |
From @AlexDanielAlso note that it is not only about trailing slashes. Command: Result: Command: Result: See also IRC log: http://irclog.perlgeek.de/perl6/2016-05-05#i_12438318 |
From roam@ringlet.netFixed by Daniel Green in 86e3e29. Thanks! G'luck, |
roam@ringlet.net - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#128073 (status was 'resolved')
Searchable as RT128073$
The text was updated successfully, but these errors were encountered: