summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2013-11-25 18:18:08 -0500
committerRicardo Signes <rjbs@cpan.org>2013-11-25 18:38:30 -0500
commitb50f77aa7f446f6dc9c38d466ed5a8d7e850a54e (patch)
treeefa87b0b6ca557d499fa32c9c31bee35a64ebd4d /pod/perldata.pod
parentea5eb3d3ca6e00870adfc543a2364826e1c0f77e (diff)
downloadperl-b50f77aa7f446f6dc9c38d466ed5a8d7e850a54e.tar.gz
document the deprecation of literal ctrl char varnames
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod8
1 files changed, 6 insertions, 2 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 254884d402..d8edfe94f1 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -196,11 +196,15 @@ like C<$^V> or C<$^W>, or a sigil followed by a literal control character
matching the C<\p{POSIX_Cntrl}> property.
Due to a historical oddity, if not
running under C<use utf8>, the 128 extra controls in the C<[0x80-0xff]> range
-may also be used in length one variables.
+may also be used in length one variables. The use of a literal control
+character is deprecated. Support for this form will be removed in a future
+version of perl.
=item Similar to the above, a sigil, followed by bareword text in brackets,
where the first character is either a caret followed by an uppercase letter,
-or a literal control, like C<${^GLOBAL_PHASE}> or C<${\7LOBAL_PHASE}>.
+or a literal control, like C<${^GLOBAL_PHASE}> or C<${\7LOBAL_PHASE}>. The use
+of a literal control character is deprecated. Support for this form will be
+removed in a future version of perl.
=item A sigil followed by a single character matching the C<\p{POSIX_Punct}>
property, like C<$!> or C<%+>.