# New Ticket Created by "Mark E. Shoulson" # Please include the string: [perl #120995] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=120995 >
> sub f(:a(:b($x))) { say $x } sub f(Any :a(:b($x))) { ... } > f(:a("A"), :a("B")) B > f(:a("A"), :b("B")) Unexpected named parameter 'a' passed If nothing else, the error message is LTA. But basically we're allowed to pass the same named parameter in twice if we use the same name, but not if we use different names.