On Mon, Jun 20, 2022 at 5:56 PM SHIRAKATA Kentaro <argrath@ub32.org> wrote: > 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. > > In practice it is treated this way already. But we might as well fully deprecate it. It needs to be replaced with features that are better designed, while not silently changing behavior of existing programs by trying to fix the existing operator. -DanThread Previous | Thread Next