develooper Front page | perl.perl5.porters | Postings from October 2012

Re: What happened to the whole "small core" idea?

Thread Previous | Thread Next
From:
Robert Sedlacek
Date:
October 28, 2012 09:07
Subject:
Re: What happened to the whole "small core" idea?
Message ID:
1351440402.4720.15.camel@gomorrah
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About