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
Rakudo may crash if you use get() when -n is used (perl6 -ne 'say get' <<< 'hello') #5287
Comments
From @AlexDanielThis bug report is somewhat related to https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128046 get() crashes with a weird error if the stream has ended. Command: Result: But it works if the number of lines is even. Command: Result: It should not crash. |
@coke - Status changed from 'new' to 'open' |
From @zoffixznetOn Sun, 01 May 2016 04:12:34 -0700, alex.jakimenko@gmail.com wrote:
lines() appears to have a similar affliction, though I don't see any difference if the number of lines is even. $ cat foo.txt |
From @dogbert17On Tue, 21 Feb 2017 11:05:15 -0800, cpan@zoffix.com wrote:
Behavior has changed, the examples above now fail with: Cannot do 'get' on a handle in binary mode |
Migrated from rt.perl.org#128047 (status was 'open')
Searchable as RT128047$
The text was updated successfully, but these errors were encountered: