use open ':std', ':encoding(utf8)'; use Test::More; my $has_test_nowarnings = 1; eval "require Test::NoWarnings"; $has_test_nowarnings = undef if $@; done_testing();