3 # Check if eval correctly ignores the UTF-8 hint.
12 use open qw( :utf8 :std );
13 use feature 'unicode_eval';
17 $SIG{__WARN__} = sub { $w = shift };
19 my $prog = "qq!\x{f9}!";
32 isnt eval "q!\360\237\220\252!", eval "q!\x{1f42a}!";
36 no utf8; #Let's make real sure.
37 my $not_utf8 = "q!\343\203\213!";
38 isnt eval $not_utf8, eval "q!\x{30cb}!";
41 isnt eval $not_utf8, eval "q!\x{30cb}!";