use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use JSON::MaybeXS;
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::Without::Module 'Cpanel::JSON::XS';
use Test::More;
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use JSON::MaybeXS ();
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::Without::Module 'Cpanel::JSON::XS';
use Test::Without::Module 'JSON::XS';
use Test::Without::Module 'JSON::PP';
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::Without::Module 'Cpanel::JSON::XS', 'JSON::XS';
use if !eval { require JSON::PP; 1; }, 'Test::More', skip_all => 'No JSON::PP';
use strict;
-use warnings FATAL => 'all';
+use warnings;
use if !eval { require Cpanel::JSON::XS; 1; }, 'Test::More', skip_all => 'No Cpanel::JSON::XS';
use Test::More;
use JSON::MaybeXS;
use strict;
-use warnings FATAL => 'all';
+use warnings;
use if !eval { require JSON::XS; 1; }, 'Test::More', skip_all => 'No JSON::XS';
use Test::More;
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::Without::Module 'Cpanel::JSON::XS';
use Test::More;
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
unless ( eval { require JSON; 1 } ) {
-use warnings FATAL => 'all';
+use warnings;
use strict;
use Test::More;