# New Ticket Created by Alex Jakimenko # Please include the string: [perl #128047] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=128047 >
This bug report is somewhat related to https://rt.perl.org/Ticket/Display.html?id=128046 get() crashes with a weird error if the stream has ended. Command: perl6 -ne 'get' <<< $'hello\nworld\ntest' Result: world Nil readline requires an object with REPR MVMOSHandle in block <unit> at -e line 1 But it works if the number of lines is even. Command: perl6 -ne 'get' <<< $'hello\nworld' Result: world It should not crash.