# New Ticket Created by Zefram # Please include the string: [perl #128976] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=128976 >
Using .WHICH as a handy means of introspection: > \(:a).WHICH Capture|a(Bool|1) > \((:a)).WHICH Capture|(Pair|Str|a|Bool|1) > \(:a).perl \(:a) > \((:a)).perl \(:a) > \(:a).perl.EVAL.WHICH Capture|a(Bool|1) > \((:a)).perl.EVAL.WHICH Capture|a(Bool|1) On the Capture that has a constant Pair as a positional argument, .perl emits code that presents the Pair literal as a named argument. I'd expect .perl to ensure correct round-tripping by using extra parens (as I did on input) or some equivalent circumlocution to force interpretation as a positional argument. -zefram