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

Re: Perl 5.16 and Beyond.

Thread Previous | Thread Next
Rafael Garcia-Suarez
September 17, 2011 10:12
Re: Perl 5.16 and Beyond.
Message ID:
On 14 September 2011 16:58, Johan Vromans <> wrote:
> Dave Rolsky <> 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

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