You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<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
Migrated from rt.perl.org#125170 (status was 'resolved')
Searchable as RT125170$
The text was updated successfully, but these errors were encountered: