summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-08 21:18:14 +0100
committerYves Orton <demerphq@gmail.com>2023-03-18 21:00:54 +0800
commit53226a9d9ec68b876970175e28c0d0ba9b7e3280 (patch)
tree274f7edece4db52ff89508cfbe81d528f73b46ad
parenta455a55aaa6c566ab7a987ed4cf2806329380151 (diff)
downloadperl-53226a9d9ec68b876970175e28c0d0ba9b7e3280.tar.gz
perldeprecation.pod - add smartmatch deprecation
This was missed when smartmatch was deprecated.
-rw-r--r--pod/perldeprecation.pod9
1 files changed, 9 insertions, 0 deletions
diff --git a/pod/perldeprecation.pod b/pod/perldeprecation.pod
index b64ade3b5c..762b9f9a91 100644
--- a/pod/perldeprecation.pod
+++ b/pod/perldeprecation.pod
@@ -14,6 +14,15 @@ features are available.
The deprecated features will be grouped by the version of Perl in
which they will be removed.
+=head2 Perl 5.42
+
+=head3 Smartmatch
+
+Smartmatch is now seen as a failed experiment and was marked as deprecated
+in Perl 5.37.10. This includes the C<when> and C<given> keywords, as well
+as the smartmatch operator C<~~>. The feature will be removed entirely in the
+Perl 5.42.0 production release.
+
=head2 Perl 5.40
=head3 Downgrading a C<use VERSION> to below v5.11