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

Re: [PATCH] use feature 'method' take two

Thread Previous | Thread Next
From:
chromatic
Date:
February 2, 2011 17:20
Subject:
Re: [PATCH] use feature 'method' take two
Message ID:
201102021720.03240.chromatic@wgz.org
On Wednesday 02 February 2011 at 17:12, Matt Sergeant wrote:

> Is there any reason method signatures (or attributes) wouldn't work on 
> top of this implementation?

Attributes work, but the tokenizer deliberately rejects prototype syntax after 
a method keyword (given the uselessness of prototypes for methods). This 
implementation is certainly compatible with a general signature system added 
for both methods and subs.

-- c

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