Public bug reported:

Binary package hint: perl

perl 5.10.0-23ubuntu1

How to reproduce:
Run these perl programs:
print length($_)." ".ord($_)." ".ord(substr $_,-1)."\n" for "\c\";
print length($_)." ".ord($_)." ".ord(substr $_,-1)."\n" for "\c\\";

Excected result:
First program should print 1 28 28.
Second program shouldn't compile.

Actual result:
First program doesn't compile.
Second program prints 2 28 92.

** Affects: perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Perl doesn't parse string literals containing \c\ correctly
https://bugs.launchpad.net/bugs/398506
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to