summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
Diffstat (limited to 'regen')
-rwxr-xr-xregen/feature.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/regen/feature.pl b/regen/feature.pl
index 32ae36cc83..33dcabd230 100755
--- a/regen/feature.pl
+++ b/regen/feature.pl
@@ -605,6 +605,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