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


It would be more awesome if "Unexected named argument 'foo' passed" was
supplemented with the name of the function to which it was passed.

    sub xyzzy ($x, :$foo = False) { ... }
    sub bar ($y) { ... }

    xyzzy(
        bar "aoeusnthaoeusnth",
        :foo
    )

If the error message includes the name 'bar', it's obvious that adding
parentheses will fix the problem.
-- 
Met vriendelijke groet, // Kind regards, // Korajn salutojn,

Juerd Waalboer  <ju...@tnx.nl>
TNX

Reply via email to