# New Ticket Created by Alex Jakimenko # Please include the string: [perl #128034] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=128034 >
Code: say split ‘b’, ‘aba’, NaN Result: This type cannot unbox to a native integer in block <unit> at -e line 1 OK, that error means that we cannot use Inf and -Inf too, right? Code: say split ‘b’, ‘aba’, +∞ say split ‘b’, ‘aba’, -∞ Result: (a a) () ↑ But we can! I think that the error message is LTA because it leads the user to think that anything that is not unboxable to a native int is not OK, while you can actually use Inf and -Inf.
