From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

# encoding: Cyrillic
# This file is encoded in Cyrillic.
die "This file is not encoded in Cyrillic.\n" if q{‚ } ne "\x82\xa0";
use strict;
print "1..256\n";
my $__FILE__ = __FILE__;
my $tno = 1;
for my $hexchr (0x00 .. 0xFF) {
my $char = pack('C',$hexchr);
if($char =~ /\C/){
printf qq{ok - $tno "\\x%02X" =~ /\\C/ $^X $__FILE__\n}, $hexchr;
}
else{
printf qq{not ok - $tno "\\x%02X" =~ /\\C/ $^X $__FILE__\n}, $hexchr;
}
$tno++;
}
__END__