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


Let's start with an example that works:

Code:
my @a;
@a[^8] = 5, 6;
say @a

Result:
[5 6 (Mu) (Mu) (Mu) (Mu) (Mu) (Mu)]

That's fine. But let's try an infinite range now:

Code:
my @a;
@a[^∞] = 5, 6;
say @a

Result:
[]

That's definitely not what I meant.


<timotimo> i'd expect the latter to have 5, 6 in it and no Mu afterwards

Yes, that's what I expected too. But I can also accept an error that says “I 
can't do it”.

Reply via email to