# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #125170]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125170 >


<cygx> hm... if I read the code correctly, open(:rw) doesn't actually
do what it promises - it gets adjusted to :w
<masak> cygx: can you confirm that with a one-liner?
<cygx> I can confirm it with the source ;)
<cygx> https://github.com/rakudo/rakudo/blob/nom/src/core/IO/Handle.pm#L68
<cygx> masak: my $f = open("test.txt", :rw); $f.write("hello".encode);
$f.seek(0, 0); say $f.read(5).decode
<cygx> => Reading from filehandle failed: operation not permitted
* masak submits rakudobug

Reply via email to