diff options
author | Karl Williamson <khw@cpan.org> | 2015-05-05 19:57:45 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-05-05 20:06:40 -0600 |
commit | abdf340104c29dbd310ff3e2102fb061a7a1f925 (patch) | |
tree | 229dfea8f1e102aff85a347d91e68138859eee73 /pod/perlvar.pod | |
parent | 9526b0e280c5154886217337139023950a279515 (diff) | |
download | perl-abdf340104c29dbd310ff3e2102fb061a7a1f925.tar.gz |
perlvar: Mention literal cntrls are deprecated in var names
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 5 |
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 |