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

Re: Perl 5.16 and Beyond.

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
September 17, 2011 10:12
Subject:
Re: Perl 5.16 and Beyond.
Message ID:
CAMoYMM-WiH5dyDYxCksovTNTRdoq1sZkzm0fUzac6VtfX_Adcw@mail.gmail.com
On 14 September 2011 16:58, Johan Vromans <jvromans@squirrel.nl> wrote:
> Dave Rolsky <autarch@urth.org> writes:
>
>> For additions of new features with new keywords, this use line will
>> block the new keywords from being usable in that scope. This seems
>> fairly easy, for some value of "fairly" and "easy" which I can't speak
>> to, since I've never hacked on the core C code ;)
>
> I've always wondered why the new keywords have not been added as "weak
> keywords" (like "lock"). This would have avoided the need for a
> feature pragma.

In my mind that was to avoid effect at distance : if you upgrade a
module that changes its default export list to contain a sub named
like a weak keyword you're using, your program semantics changes under
you.

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