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

Re: Deprecation plans

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
January 11, 2017 12:15
Subject:
Re: Deprecation plans
Message ID:
20170111121514.GH4206@iabyn.com
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

-- 
More than any other time in history, mankind faces a crossroads. One path
leads to despair and utter hopelessness. The other, to total extinction.
Let us pray we have the wisdom to choose correctly.
    -- Woody Allen

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