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

Re: Deprecation plans

Thread Previous | Thread Next
From:
Sawyer X
Date:
January 14, 2017 16:37
Subject:
Re: Deprecation plans
Message ID:
f5a7188a-c372-3a92-75b1-9def537ade6d@gmail.com


On 01/11/2017 01:15 PM, Dave Mitchell wrote:
> On Tue, Jan 10, 2017 at 12:05:39PM +0100, Ævar Arnfjörð Bjarmason wrote:
>>> * $* is no longer supported: Functionality removed in 5.10.0, removing
>>> the warning.
>>>
>>> * $# is no longer supported: Functionality removed in 5.10.0, removing
>>> the warning.
>> Shouldn't we be consistent here and either make all previously magical
>> variables listed in perlvar either not special at all (as seems to be
>> the plan with $* & $#), or reserve them forever by making their use
>> fatal as is the plan with $[?
>>
>> My bias would be to just make them all fatal, despite all these old
>> deprecation warnings someone will dig up an old script / blogpost /
>> Matt's Script Archive entry and try to execute it, I think it would be
>> more helpful to just die in those cases instead of introducing subtle
>> behavior differences.
> +1

I reckon this was an oversight. I'm also in favor of making them all fatal.

Any objections?

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