[perl #60570] Wrong error message about passed args when signature with named argument

2010-02-16 Thread jn...@jnthn.net via RT
On Tue Nov 18 08:14:40 2008, pmichaud wrote: > On Sun, Nov 16, 2008 at 01:23:28AM -0800, Ilya Belikin wrote: > > Hi! > > example: > > > > sub bar (@ar, :$a) { ... } > > bar(); #too few arguments passed (0) - 4 params expected > > > > If signature without named args, all right. > > Jonathan and I

Re: [perl #60570] Wrong error message about passed args when signature with named argument

2008-11-18 Thread Patrick R. Michaud
On Sun, Nov 16, 2008 at 01:23:28AM -0800, Ilya Belikin wrote: > Hi! > example: > > sub bar (@ar, :$a) { ... } > bar(); #too few arguments passed (0) - 4 params expected > > If signature without named args, all right. Jonathan and I have confirmed that this is indeed a bug in error reporting, but

[perl #60570] Wrong error message about passed args when signature with named argument

2008-11-16 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #60570] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60570 > Hi! example: sub bar (@ar, :$a) { ... } bar(); #too few arguments passed (0) - 4 params