summaryrefslogtreecommitdiff
path: root/pod/perlsyn.pod
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2015-10-02 12:16:40 -0400
committerRicardo Signes <rjbs@cpan.org>2015-10-02 13:49:32 -0400
commitce03658379770b2057c4b3c20e5e3f66d771e965 (patch)
treea3afa15b59d217b50dda738e6637075a8744f6e1 /pod/perlsyn.pod
parent5d051ee03641d21c898bf366fb1caee7baf7e646 (diff)
downloadperl-ce03658379770b2057c4b3c20e5e3f66d771e965.tar.gz
remove documentation for the now-removed lexical topic
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r--pod/perlsyn.pod9
1 files changed, 2 insertions, 7 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index f29f7aaa76..01425d261d 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -685,13 +685,8 @@ and 5.16, under those implementations the version of C<$_> governed by
C<given> is merely a lexically scoped copy of the original, not a
dynamically scoped alias to the original, as it would be if it were a
C<foreach> or under both the original and the current Perl 6 language
-specification. This bug was fixed in Perl
-5.18. If you really want a lexical C<$_>,
-specify that explicitly, but note that C<my $_>
-is now deprecated and will warn unless warnings
-have been disabled:
-
- given(my $_ = EXPR) { ... }
+specification. This bug was fixed in Perl 5.18 (and lexicalized C<$_> itself
+was removed in Perl 5.24).
If your code still needs to run on older versions,
stick to C<foreach> for your topicalizer and