summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod3
-rw-r--r--pod/perldiag.pod12
2 files changed, 14 insertions, 1 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 9443db374b..eb7b69ca78 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -35,7 +35,8 @@ This release reverts that change.
=head1 Deprecations
-The premature deprecation of lexical $_ in 5.17.7 has been reverted.
+The deprecation of lexical C<$_> in 5.17.7 has been commuted. The feature
+is now marked experimental.
=head2 Deprecated pragma
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 9ec4446ae1..3a76c7674a 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -5702,6 +5702,12 @@ old way has bad side effects.
it already went past any symlink you are presumably trying to look for.
The operation returned C<undef>. Use a filename instead.
+=item Use of my $_ is experimental
+
+(S experimental::lexical_topic) Lexical $_ is an experimental feature and
+its behavior may change or even be removed in any future release of perl.
+See the explanation under L<perlvar/$_>.
+
=item Use of %s on a handle without * is deprecated
(D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that scalar
@@ -5733,6 +5739,12 @@ C<$array[0+$ref]>. This warning is not given for overloaded objects,
however, because you can overload the numification and stringification
operators and then you presumably know what you are doing.
+=item Use of state $_ is experimental
+
+(S experimental::lexical_topic) Lexical $_ is an experimental feature and
+its behavior may change or even be removed in any future release of perl.
+See the explanation under L<perlvar/$_>.
+
=item Use of tainted arguments in %s is deprecated
(W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple