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; > > 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 signatures.pm 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 failingThread Previous | Thread Next