summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-05-05 19:57:45 -0600
committerKarl Williamson <khw@cpan.org>2015-05-05 20:06:40 -0600
commitabdf340104c29dbd310ff3e2102fb061a7a1f925 (patch)
tree229dfea8f1e102aff85a347d91e68138859eee73 /pod/perlvar.pod
parent9526b0e280c5154886217337139023950a279515 (diff)
downloadperl-abdf340104c29dbd310ff3e2102fb061a7a1f925.tar.gz
perlvar: Mention literal cntrls are deprecated in var names
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index a9bb2e8157..285531ef07 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -25,8 +25,9 @@ C<W>) is the scalar variable whose name is the single character
control-C<W>. This is better than typing a literal control-C<W>
into your program.
-Since Perl v5.6.0, Perl variable names may be alphanumeric
-strings that begin with control characters (or better yet, a caret).
+Since Perl v5.6.0, Perl variable names may be alphanumeric strings that
+begin with a caret (or a control character, but this form is
+deprecated).
These variables must be written in the form C<${^Foo}>; the braces
are not optional. C<${^Foo}> denotes the scalar variable whose
name is a control-C<F> followed by two C<o>'s. These variables are