# New Ticket Created by  Elizabeth Mattijsen 
# Please include the string:  [perl #131956]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131956 >


$ 6 'my @a = ^5; @a[10]=42; .say for @a[]:v'
0
1
2
3
4
(Any)
(Any)
(Any)
(Any)
(Any)
42


Note that :k *does* honour the filtering logic:

$ 6 'my @a = ^5; @a[10]=42; .say for @a[]:k'
0
1
2
3
4
10

Reply via email to