| Store | Cart

[perl #128738] \x{ffffffff} as string delim preserves \\

From: Father Chrysostomos (via RT) <perl...@perl.org>
Tue, 26 Jul 2016 00:28:37 -0700
# New Ticket Created by  Father Chrysostomos 
# Please include the string:  [perl #128738]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128738 >


OK, so this is the *real* bug I was after when I opened ticket #128737 (when I wasn’t thinking):

$ ./miniperl  -e 'eval "print q \x{fffffff}Hello, \\\\whirled!\n\x{fffffff}" or die;'
Hello, \whirled!

That is expected.  But add another f:

$ ./miniperl  -e 'eval "print q \x{ffffffff}Hello, \\\\whirled!\n\x{ffffffff}" or die;'
Hello, \\whirled!

And \\ in a q() string is now being preserved, instead of being changed to a single backslash.

Same results from 5.8.7 to 5.25.3.

-- 

Father Chrysostomos

Recent Messages in this Thread
Father Chrysostomos (via RT) Jul 26, 2016 07:28 am
Father Chrysostomos via RT Jul 26, 2016 07:39 am
Karl Williamson Jul 28, 2016 02:48 am
Karl Williamson via RT Aug 05, 2016 10:50 pm
Messages in this thread