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


Code:
[4, 8, 15, 16, 23][* - 42];

Result:
Index out of range. Is: -37, should be in 0..Inf
  in block <unit> at ./test3.pl:2

Actually thrown at:
  in block <unit> at ./test3.pl:2



This error message makes me want to try [Inf] or [* + Inf].

<lizmat> Perhaps "Effective index out of range" would be a better message

Yeah, perhaps!

Reply via email to