summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorPhilippe Bruhat (BooK) <book@cpan.org>2022-10-24 00:05:16 +0200
committerYves Orton <demerphq@gmail.com>2023-02-25 00:49:18 +0800
commit381382f7662757c39a652bbb70bd0b1a5c0be5f7 (patch)
treecd1e561acd485b372a312459a5a4efc7983a7687 /regen
parentda09070297bd182d67c73c69df14ea8487642e29 (diff)
downloadperl-381382f7662757c39a652bbb70bd0b1a5c0be5f7.tar.gz
Deprecate smartmatch
Make the 'experimental::smartmatch' warning obsolete, and use 'deprecated' instead.
Diffstat (limited to 'regen')
-rw-r--r--regen/warnings.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/regen/warnings.pl b/regen/warnings.pl
index 21ee95d9b1..c2621363ba 100644
--- a/regen/warnings.pl
+++ b/regen/warnings.pl
@@ -171,7 +171,7 @@ my %VALUE_TO_NAME; # (index_number => [ 'NAME', version ], ...);
my %NAME_TO_VALUE; # ('NAME' => index_number, ....);
-# the experiments were successful,
+# the experiments were successful (or abandonned),
# so no warning bit is needed anymore
my %NO_BIT_FOR = map { ( uc $_ => 1, $_ => 1 ) } qw(
experimental::lexical_subs
@@ -181,6 +181,7 @@ my %NO_BIT_FOR = map { ( uc $_ => 1, $_ => 1 ) } qw(
experimental::alpha_assertions
experimental::script_run
experimental::isa
+ experimental::smartmatch
);
###########################################################################