diff options
author | Karen Etheridge <ether@cpan.org> | 2023-04-27 18:16:02 +0200 |
---|---|---|
committer | Karen Etheridge <github@froods.org> | 2023-04-30 16:08:34 +0200 |
commit | 265a3a4170eb43b0731b6ebd8f14bb25b02cd2e5 (patch) | |
tree | 4627fd009337df17b07d5a9a9a3ec0653c2fd78a | |
parent | d45c0d11c1c4f0389f94233f01562341113ed498 (diff) | |
download | perl-265a3a4170eb43b0731b6ebd8f14bb25b02cd2e5.tar.gz |
add a mention of smartmatch being deprecated
-rw-r--r-- | pod/perlsyn.pod | 3 |
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 |