#!./perl
chdir 't' if -d 't';
}
$foo =
'Now is the time for all good men to come to the aid of their country.';
$a = "foo \x{1234}bar";
{
my $haystack = "\x{1228}\x{1228}\x{1230}\x{1270}"; my $a = index ( "\x{1228}\x{1228}\x{1230}\x{1270}", $_ ); is($a, $b, q{[perl #22375] 'split'/'index' problem for utf8}); }
$needle = "\x{1270}\x{1230}"; # Transpose them. my $a = index ( "\x{1228}\x{1228}\x{1230}\x{1270}", $_ ); is($a, $b, q{[perl #22375] 'split'/'index' problem for utf8}); }
}