# New Ticket Created by Tobias Leich # Please include the string: [perl #125964] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125964 >
m: my $a = (1, 2, 3); $a[42] = 21 camelia rakudo-moar 00be1e: OUTPUT«Index out of range. Is: 42, should be in 0..2 in block <unit> at /tmp/nnTEvtevbH:1» GLRelia rakudo-moar 467b79: OUTPUT«Attempted to STORE to Nil. in block <unit> at /tmp/o9_DeZFRmB:1» Both answers are far from ideal because you cannot assign to a List anyway, even when you use an existing position.