# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #79288] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=79288 >
<masak> blog post! http://strangelyconsistent.org/blog/november-16-2010-the-polite-revolt <masak> rakudo: sub foo($x? is rw) { $x = "OH HAI" }; foo() <p6eval> rakudo 015d77: OUTPUT«Cannot modify readonly value [...] <masak> discuss. * masak submits rakudobug * masak looks <Tene> masak: A third of the way through or so, I was thinking "Could he use 'is copy' instead?" :) <Tene> masak: I agree in that I expect rw defaults to be a copy/assign. <Tene> masak: Shouldn't be too hard to fix, I expect. <masak> Tene: oh, good. <Tene> I mean, the functionality is obviously already there, as 'is copy' can do it fine, so you'd just look at what's different in the PAST, etc. <jnthn> akshually probably an easy-ish binder patch. <masak> \o/