Karl Williamson <public@khwilliamson.com> wrote
on Thu, 28 Apr 2011 09:47:46 MDT:
> But those lines are in perlop, not perlrun. And I don't understand how
> this is is about an incompatibility; rather it is a restatement of a
> table in algorithmic form for the convenience of the reader
perldelta already has:
=head2 C<\cI<X>>
The backslash-c construct was designed as a way of specifying
non-printable characters, but there were no restrictions (on ASCII
platforms) on what the character following the C<c> could be. Now,
a deprecation warning is raised if that character isn't an ASCII character.
Also, a deprecation warning is raised for C<"\c{"> (which is the same
as simply saying C<";">).
I don't know what Jesse was meaning. The most I can think of is adding
something patterned after this, and that is only presuming it correct:
Perl historically treated C<"\cX"> as C<chr(64 ^ ord(uc "X"))>.
I don't know that that adds to perldelta anything truly necessary.
It maybe makes more sense as a way to avoid the big table. I can
never remember complex lookups myself.
--tom
Thread Previous