The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use warnings;
use strict;
use Test::More tests => 4;
use Lingua::JA::Moji qw/InWideAscii/;
use utf8;
# http://code.google.com/p/test-more/issues/detail?id=46
binmode Test::More->builder->output, ":utf8";
binmode Test::More->builder->failure_output, ":utf8";
ok ('ア' !~ /\p{InWideAscii}/, "ア is wide ascii\n");
ok ('ア' !~ /\p{InWideAscii}/, "ア is not wide ascii\n");
ok ('baby chops' !~ /\p{InWideAscii}/, "baby chops is not wide ascii\n");
ok ('baby chops' =~ /\p{InWideAscii}/, "baby chops is wide ascii\n");