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


Code:
dd (‘’..‘WAT’)[^20]

Result:
("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")


I don't know what would be the right behavior, but an infinite list of empty 
strings is probably the worst option out of all. When trying to produce a range 
by using two strings, I expect either nothing, or one empty string, or some 
weird string sequence, or a very large list of different strings. The only 
thing that I am not expecting is an infinite list.

Reply via email to