On Sun, 2012-10-28 at 06:58 +1100, Peter Rabbitson wrote: > On Sat, Oct 27, 2012 at 09:32:40AM -0400, Peter Martini wrote: > > Just a couple of thoughts from my phone, which is why I cut out the message: > > > > 1. Sub signatures have been prototyped, and quite successfully, on CPAN. > > The internal interface could be improved, but the core support is there. > > This is simply untrue. There has never yet been an implementation on CPAN > which concerned itself with the amount of arguments. Nor has there been > an implementation which in any way altered the behavior/contents of @_. I just tried MooseX::Method::Signatures. It will croak if an argument not declared as optional is missing. regards, -- Robert 'phaylon' Sedlacek Perl 5 Consultant for Shadowcat Systems Limited - http://shadowcat.co.uk/Thread Previous | Thread Next