Created
March 30, 2012 07:41
-
-
Save moritz/2248944 to your computer and use it in GitHub Desktop.
Weir rakudo behaviour for files without newlines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
moritz@jacq:~/p6/rakudo>echo -n foo > test | |
moritz@jacq:~/p6/rakudo>echo foo > test | |
moritz@jacq:~/p6/rakudo>perl6 -e '.say for open("test").lines' | |
foo | |
moritz@jacq:~/p6/rakudo>echo -n foo > test | |
moritz@jacq:~/p6/rakudo>perl6 -e '.say for open("test").lines' | |
Unable to open filehandle from path 'test' | |
in method open at src/gen/CORE.setting:6268 | |
in method get at src/gen/CORE.setting:6288 | |
in code <anon> at src/gen/CORE.setting:6313 | |
in sub coro at src/gen/CORE.setting:4797 | |
in method reify at src/gen/CORE.setting:4778 | |
in method reify at src/gen/CORE.setting:4549 | |
in method reify at src/gen/CORE.setting:4549 | |
in method gimme at src/gen/CORE.setting:4937 | |
in method reify at src/gen/CORE.setting:4628 | |
in method reify at src/gen/CORE.setting:4549 | |
in method reify at src/gen/CORE.setting:4549 | |
in method gimme at src/gen/CORE.setting:4937 | |
in method eager at src/gen/CORE.setting:4912 | |
in method eager at src/gen/CORE.setting:1024 | |
in sub eager at src/gen/CORE.setting:5200 | |
in block <anon> at -e:1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment