diff options
author | Philippe Bruhat (BooK) <book@cpan.org> | 2022-10-24 23:25:20 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-25 00:49:18 +0800 |
commit | ac8ba642ae7dadc7f3491e13148b8d1c45b84649 (patch) | |
tree | a08dbb4067203b56ea30eab4cc45e6086ae1789c /lib/feature.pm | |
parent | d798806246348688ced6c193cc59369e89579170 (diff) | |
download | perl-ac8ba642ae7dadc7f3491e13148b8d1c45b84649.tar.gz |
Document that smartmatch is deprecated and will be removed in 5.42
Diffstat (limited to 'lib/feature.pm')
-rw-r--r-- | lib/feature.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index ebaae10f4a..cf95291330 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -183,6 +183,9 @@ given/when construct. See L<perlsyn/"Switch Statements"> for details. This feature is available starting with Perl 5.10. +It is deprecated starting with Perl 5.38, and using +C<given>, C<when> or smartmatch will throw a warning. +It will be removed in Perl 5.42. =head2 The 'unicode_strings' feature |