4 unless(grep /blib/, @INC) {
6 unshift @INC, '../lib' if -d '../lib';
13 use charnames ':full';
15 print "not " unless "Here\N{EXCLAMATION MARK}?" eq 'Here!?';
18 print "# \$res=$res \$\@='$@'\nnot "
19 if $res = eval <<'EOE'
20 use charnames ":full";
21 "Here: \N{CYRILLIC SMALL LETTER BE}!";
24 or $@ !~ /above 0xFF/;
26 # print "# \$res=$res \$\@='$@'\n";
28 print "# \$res=$res \$\@='$@'\nnot "
29 if $res = eval <<'EOE'
30 use charnames 'cyrillic';
34 or $@ !~ /CYRILLIC CAPITAL LETTER BE.*above 0xFF/;
37 # If octal representation of unicode char is \0xyzt, then the utf8 is \3xy\2zt
38 $encoded_be = "\320\261";
39 $encoded_alpha = "\316\261";
40 $encoded_bet = "\327\221";
42 use charnames ':full';
45 print "not " unless "\N{CYRILLIC SMALL LETTER BE}" eq $encoded_be;
48 use charnames qw(cyrillic greek :short);
50 print "not " unless "\N{be},\N{alpha},\N{hebrew:bet}"
51 eq "$encoded_be,$encoded_alpha,$encoded_bet";