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


Code:
my $x = Duration.new(∞)

Result:
Type check failed in assignment to $!tai; expected Rat but got Num
  in block <unit> at -e line 1


Sure, it could error out on ∞, but it should not mention some internal
variables that are not in my code (especially if the name is so
meaningless).

Reply via email to