> 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; > > http://search.cpan.org/~mschwern/Method-Signatures-20081028/lib/Method/Signatures.pm > > Meanwhile, some older stuff for comparison includes: > > http://search.cpan.org/~flora/signatures-0.02/lib/signatures.pm > http://search.cpan.org/~chips/Perl6-Subs-0.05/lib/Perl6/Subs.pm > I think that the key feature would be aliasing of parameters (even as an optional trait). Maybe I'm a little naive but without it, how pretty the new syntax could be, I don't think it would be enough for experienced users to justify the break in backward compatibility. Vincent.Thread Previous | Thread Next