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

Re: disabling smartmatch and when()?

Thread Previous | Thread Next
From:
SHIRAKATA Kentaro
Date:
June 20, 2022 21:56
Subject:
Re: disabling smartmatch and when()?
Message ID:
5b33b7e5-d688-dc42-5867-af361b872cf4@ub32.org
How about declaring smartmatch as "discouraged" instead?

 From https://perldoc.perl.org/perlpolicy#discouraged:

---

discouraged

     From time to time, we may mark language constructs and features which we consider to have been mistakes as discouraged. Discouraged features aren't currently candidates for removal, but we may later deprecate them if they're found to stand in the way of a significant improvement to the Perl core.

---

I think it meets this criterion.


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