summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Etheridge <ether@cpan.org>2023-04-27 18:16:02 +0200
committerKaren Etheridge <github@froods.org>2023-04-30 16:08:34 +0200
commit265a3a4170eb43b0731b6ebd8f14bb25b02cd2e5 (patch)
tree4627fd009337df17b07d5a9a9a3ec0653c2fd78a
parentd45c0d11c1c4f0389f94233f01562341113ed498 (diff)
downloadperl-265a3a4170eb43b0731b6ebd8f14bb25b02cd2e5.tar.gz
add a mention of smartmatch being deprecated
-rw-r--r--pod/perlsyn.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index 8e6909b3fd..5245c80e48 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -1155,7 +1155,8 @@ shell:
=head2 Experimental Details on given and when
As previously mentioned, the "switch" feature is considered highly
-experimental; it is subject to change with little notice. In particular,
+experimental (it is also scheduled to be removed in perl 5.42.0);
+it is subject to change with little notice. In particular,
C<when> has tricky behaviours that are expected to change to become less
tricky in the future. Do not rely upon its current (mis)implementation.
Before Perl 5.18, C<given> also had tricky behaviours that you should still