The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# encoding: EUCJP
# This file is encoded in EUC-JP.
die "This file is not encoded in EUC-JP.\n" if q{¤¢} ne "\xa4\xa2";

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

# ¥Þ¥Ã¥Á¤·¤Ê¤¤¤Ï¤º¤Ê¤Î¤Ë¥Þ¥Ã¥Á¤¹¤ë¡Ê£±¡Ë
if ("¥ä¥«¥ó" =~ /¥Ý¥Ã¥È/) {
    print qq<not ok - 1 "YAKAN" =~ /POTTO/\n>;
}
else {
    print qq<ok - 1 "YAKAN" =~ /POTTO/\n>;
}

__END__

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