This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
evalbytes should ignore outer utf8 declaration
authorFather Chrysostomos <sprout@cpan.org>
Fri, 25 Nov 2011 01:43:38 +0000 (17:43 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 25 Nov 2011 05:11:05 +0000 (21:11 -0800)
commit547ae1291622100dc17f3ab6cb5aac35f22c5e43
tree9539180644309ba1511140ab6638c9c2c1255967
parent4328d7879628026a00edbb6b85370b9f707ccd42
evalbytes should ignore outer utf8 declaration

A slight mistake in the evalbytes.t test script caused a lot of tests
not be testing what they were supposed to be testing for.  I used
'qq(\x...)' instead of qq('\x...').  (I.e., I was trying to embed lit-
eral Unicode characters in the string, rather than pass escapes to
evalbytes.)

I had wondered at the time why it worked without my doing anything, so
I probably should have looked deeper.
op.c
t/op/evalbytes.t