This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldeprecation.pod - add smartmatch deprecation
authorYves Orton <demerphq@gmail.com>
Wed, 8 Mar 2023 20:18:14 +0000 (21:18 +0100)
committerYves Orton <demerphq@gmail.com>
Sat, 18 Mar 2023 13:00:54 +0000 (21:00 +0800)
This was missed when smartmatch was deprecated.

pod/perldeprecation.pod

index b64ade3..762b9f9 100644 (file)
@@ -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