# New Ticket Created by rightfold
# Please include the string: [perl #131503]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=131503 >
'-'.IO behaves as $*IN in some cases, like expected, but crashes with
slurp. '-'.IO.spurt works as expected; writing to $*OUT. It appears also
that '-'.IO is not very well tested in roast, and it is not documented
in the API documentation of IO::Path either, so maybe those points
should be addressed as well.
$ perl6 --version
This is Rakudo version 2017.04.3 built on MoarVM version
2017.04-53-g66c6dda
implementing Perl 6.c.
$ perl6
To exit type 'exit' or '^D'
> '-'.IO.slurp
P6opaque: no such attribute '$!PIO' in type IO::Handle when trying
to get a value
in block <unit> at <unknown file> line 1