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

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

Thread Previous | Thread Next
February 2, 2011 17:20
Re: [PATCH] use feature 'method' take two
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About