# New Ticket Created by "Mark E. Shoulson" # Please include the string: [perl #120992] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=120992 >
> (all("a", "b") ~~ /a/).Bool True > all("a", "b") ~~ /a/ 「all("a", "b")」 > (all("a", "b") ~~ /a/).perl Match.new(orig => all("a", "b"), from => 0, to => 1, ast => Any, list => ().list, hash => EnumMap.new()) > What's going on is that the failed match returns a Nil, which disappears when it is added to the elements of the junction, so we get a junction of one element, which is True.