# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #72816] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=72816 >
<masak> rakudo: my $*x = 42; say $*x.WHAT <p6eval> rakudo 70667a: OUTPUT«Int()» <masak> rakudo: $*x = 42; say $*x.WHAT <p6eval> rakudo 70667a: OUTPUT«Cannot assign to readonly valuecurrent instr. '&infix:<=>' pc 15648 (src/builtins/Junction.pir:169)» * masak submits rakudobug <masak> rakudo: $*x = 42 <p6eval> rakudo 70667a: OUTPUT«Cannot assign to readonly valuecurrent instr.: '&infix:<=>' pc 15648 (src/builtins/Junction.pir:169)» I'm not sure dynamic variables can be assigned to without first being initialized. I skimmed S02 but didn't find anything mentioning it. Anyway, either you can and the error shouldn't be there, or you can't and the error is less than awesome.