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


Code:
min(+'a', +'a').say

Result:
Inf


Normally such conversion throws an error:
Code:
say +'a'

Result:
Cannot convert string to number: base-10 number must begin with valid
digits or '.' in '⏏a' (indicated by ⏏)
  in block <unit> at ./test.pl:2

But that's not the case in min(). I'd probably accept any other result
(Error, 0, NaN, whatever), but not Inf.

Reply via email to