# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #73856] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73856 >
<jnthn> rakudo: my $foo = 'rofl harris'; given $foo { .=subst(/rofl/, 'rolf'; }; say $foo <p6eval> rakudo 8f7d29: ( no output ) <jnthn> Locally it whines about $_ being readonly. <jnthn> I'm not sure if that's a bug. <masak> I thought the default setting was '<-> $_' <masak> i.e. '-> $_ is rw' <jnthn> probably is parcel rather than is rw <jnthn> But yes <jnthn> Provided that applies to given, which I guess it should... <masak> so...? submitarakudobug? <jnthn> yesithinkyoushouldindeeddothat. * masak submitsarakudobughoworiginal S04:567 says that the default is '<-> $_' for for. As far as I can see, it doesn't mention the same for given, but it seems to make sense that it does the same.