This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #75138] "\c`" -> " "
authorKarl Williamson <khw@khw-desktop.(none)>
Sun, 30 May 2010 19:05:48 +0000 (13:05 -0600)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sun, 30 May 2010 21:29:11 +0000 (23:29 +0200)
commit1408fb84de0c28007d91730cde177d893e427181
tree4b95429ccf62b848f39468315890ae74192a32e9
parent71648f9a69cff1f8ee90adfed51c64c3c2dfeaf1
PATCH: [perl #75138] "\c`" -> " "

Attached is a patch for some of this issue.  I took Nicholas' advice,
and if the result of \cX isn't a word character, the output message will
precede it with a backslash, so the message in the example would be

"\c`" more clearly written simply as "\ " at -e line 1.

I think that message is true.

I also added tests.

There is a test that guarantees that we won't ship 5.14 with things as
they are now in it.  I added wording to the comments next to that test
to be sure to verify with this email thread if we should remove the
deprecation, and mentioned that in the explanatory wording in the pod.
I support removing the deprecation, but for now I'm not touching that,
to see what other issues may yet arise before 5.14.
pod/perldiag.pod
t/op/qq.t
t/re/re_tests
util.c