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


Consider this code:
say (0..9999999999999)[9999999999]

Result:
9999999999


In other words, we can calculate the value without turning the Range into a 
list. However:

Code:
say (0..Inf)[9999999999]

Result:
(it hangs attempting to .list it)


This can be easily solved. However, the question is what should be done with 
other cases (e.g. (-Inf..0)[*-5] and similar)

Reply via email to