The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
# encoding: EUCTW
# This file is encoded in EUC-TW.
die "This file is not encoded in EUC-TW.\n" if q{¤¢} ne "\xa4\xa2";

use Char;
print "1..1\n";

# ¥Þ¥Ã¥Á¤¹¤ë¤Ï¤º¤Ê¤Î¤Ë¥Þ¥Ã¥Á¤·¤Ê¤¤¡Ê£±¡Ë
if ("±¿Å¾Ìȵö" =~ /±¿Å¾/) {
    print qq<ok - 1 "UNTENMENKYO" =~ /UNTEN/\n>;
}
else {
    print qq<not ok - 1 "UNTENMENKYO" =~ /UNTEN/\n>;
}

__END__

Shift-JIS¥Æ¥­¥¹¥È¤òÀµ¤·¤¯°·¤¦
http://homepage1.nifty.com/nomenclator/perl/shiftjis.htm