# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #117777] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117777 >
<lizmat> masak: isn't this a rakudo bug? <lizmat> r: my $a="foo"; { temp undefine $a; say $a }; say $a <camelia> rakudo 71ea14: OUTPUT«(Any)Cannot assign to a readonly variable or a value in block at /tmp/lGIFzmiUSK:1» <masak> huh. <masak> I... don't know. I think so. <masak> but I can't internalize what happens there. <masak> where does the "readonly" come from? <lizmat> r: my $a="foo"; { temp $a= (Any); say $a }; say $a <camelia> rakudo 71ea14: OUTPUT«(Any)foo» <lizmat> seems like "undefine" is maybe doing more than it should <masak> yeah. * masak submits rakudobug