# New Ticket Created by "brian d foy" # Please include the string: [perl #131118] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=131118 >
Consider this junction which you probably shouldn't make but you know will happen in the hands of users: any( 5, 'flarg' ) == 5 Despite having an element that satisfies the condition, it blows up because one of them doesn't: > any(5, "flarg") == 5 Cannot convert string to number: base-10 number must begin with valid digits or '.' in '⏏flarg' (indicated by ⏏) in block <unit> at <unknown file> line 1 But, it should't matter that what happens with any other parts of the junction if at least one of them satisfies the condition. You could, for instance, evaluate that differently so the new junction looks something like this: any( True, Failure ); But, I don't think it should evaluate to another junction at all. The comparison operator should evaluate to a Boolean. That Failure will never matter because it's equivalent to False.