develooper Front page | perl.perl5.porters | Postings from June 2022

Re: disabling smartmatch and when()?

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 24, 2022 16:00
Subject:
Re: disabling smartmatch and when()?
Message ID:
20220624165951.0de085f8@shy.leonerd.org.uk
On Fri, 24 Jun 2022 16:11:58 +0100
"Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk> wrote:

> On Fri, 24 Jun 2022 10:07:25 -0400
> "Ricardo Signes" <perl.p5p@rjbs.manxome.org> wrote:
> 
> > On Tue, Jun 21, 2022, at 04:45, Paul "LeoNerd" Evans wrote:  
> > > I think there's two things we need to do:
> > > 
> > > 1) Make ~~ and given/when much louder about their "you shouldn't
> > > use this for new code" status;    
> > 
> > Agreed.  Let's do that immediately?  
> 
> Righty. I'll see what I can hack up.

Hmm. Well, first off: we don't have a "discouraged" warning category.

One thing we do have is "deprecated", which I think current policy
requires us to make a formal statement in pod/perldeprecation.pod and
give a timeline for eventual removal. Do we want to commit to that?

Alternatively, I could add a new "discouraged" category. Though I think
I recall trying that sometime before and we eventually decided it
should just be deprecated anyway.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

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