develooper Front page | perl.perl5.porters | Postings from January 2011

Re: [PATCH] use feature 'method'; (was Re: Proposal: "$->" forimplicit invocant)

Thread Previous | Thread Next
Chris Prather
January 20, 2011 13:16
Re: [PATCH] use feature 'method'; (was Re: Proposal: "$->" forimplicit invocant)
Message ID:
On Thu, Jan 20, 2011 at 1:32 PM, Zefram <> wrote:
> You should prototype this as a CPAN module, using the keyword hook.

Conceptually this is is a subset of MooseX::Method::Signatures[1],
Method::Signatures::Simple[2] Method::Signatures[3], Perl6::Subs[4],
as well as similar in principle to selfvars[5], self[6], and

What exactly are you looking for from a prototype that isn't provided
in one of those seven (7!) modules?


Note: I generated this list with a quick search for "self" and
"method" on CPAN. Two of these modules I knew existed because various
members of the Moose community use them in production environments
(specifically MooseX::Method::Signatures and
Method::Signatures::Simple). There may be other modules which
replicate this behavior as well, I gave up when I found the two I knew
about ... and five more.


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