develooper Front page | perl.perl5.porters | Postings from December 2008

Re: Proposal: Named parameters for 5.12

Thread Previous | Thread Next
Florian Ragwitz
December 6, 2008 10:33
Re: Proposal: Named parameters for 5.12
Message ID:
Chip Salzenberg wrote:
> What say we make named parameters part of Perl 5.12?  (Finally?!)
> A quick check of CPAN suggests that Schwern's code in Method::Signature
> defines the state of this particular art.  I think we could make a less
> seam-y approach in the core, but the feature set looks really good;
> Meanwhile, some older stuff for comparison includes:
> isn't exactly old. It's been first uploaded a few weeks ago and
uses techniques similar to Devel::Declare (and therefor Method::Signatures,
MooseX::Method::Signatures, etc) and no source filters.

Also it already has everything needed to implement named parameters for 5.8 and
above. Just subclass and supply your own proto_unwrap method.

BOFH excuse #431:
Borg implants are failing

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About