5.14 subclasses some UTF8 warnings, so that they can be turned off
more precisely.
use strict;
use warnings;
+no warnings 'surrogate'; # surrogates can be inputs to this
use charnames ();
our $VERSION = '0.32';
croak __PACKAGE__, "::compexcl: unknown code '$arg'"
unless defined $code;
- no warnings "utf8"; # So works on surrogates and non-Unicode code points
+ no warnings "non_unicode"; # So works on non-Unicode code points
return chr($code) =~ /\p{Composition_Exclusion}/;
}