diff options
author | Ricardo Signes <rjbs@cpan.org> | 2013-02-20 11:40:45 -0500 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2013-02-20 11:53:04 -0500 |
commit | 4055dbce18d26660d937e0dea2aefbb2cd09478d (patch) | |
tree | 8cf94bf601162a1025e6bfab421c9b92473d5a14 /pod | |
parent | 55783725fcd6f6dcc5b3ecc5d7727d7ee3bda8a8 (diff) | |
download | perl-4055dbce18d26660d937e0dea2aefbb2cd09478d.tar.gz |
put an experimental warning on lexical topic
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 3 | ||||
-rw-r--r-- | pod/perldiag.pod | 12 |
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 |