diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2010-05-12 11:50:19 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-05-17 10:19:45 +0200 |
commit | 6ae9f32af6f08fad4023edda45596d5c654483de (patch) | |
tree | dd28d23beba82e55a20c728cf080aa35caffc92f /pod/perlop.pod | |
parent | 3e462cdc2087ddf90984010fabd80c30db92bfa0 (diff) | |
download | perl-6ae9f32af6f08fad4023edda45596d5c654483de.tar.gz |
PATCH: Clean up EBCDIC handling of \cX
The function perl_ebcdic_control() is unnecessary, as the toCTRL macro
that calls it can be changed to just map EBCDIC to ASCII first, and then
doing the normal procedure.
This means that EBCDIC and ASCII will no longer diverge. Currently,
EBCIDIC gives a syntax error for inputs outside its domain, whereas the
ASCII version accepts some of them.
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r-- | pod/perlop.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index de687d3c96..58c0660ac7 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1060,9 +1060,9 @@ L<perlebcdic/OPERATOR DIFFERENCES> for the complete list of what these sequences mean on both ASCII and EBCDIC platforms. Use of any other character following the "c" besides those listed above is -prohibited on EBCDIC platforms, and discouraged (and may become deprecated or -forbidden) on ASCII ones. What happens for those other characters currently -though, is that the value is derived by inverting the 7th bit (0x40). +discouraged, and may become deprecated or forbidden. What happens for those +other characters currently though, is that the value is derived by inverting +the 7th bit (0x40). To get platform independent controls, you can use C<\N{...}>. |