4 # hide Cpanel::JSON::XS, JSON::XS, JSON::PP
7 sub { return unless $_[1] eq $m; die "Can't locate $m in \@INC (hidden).\n" };
8 } qw{Cpanel/JSON/XS.pm JSON/XS.pm JSON/PP.pm};
12 ok(!eval { require JSON::MaybeXS; 1 }, 'Class failed to load');
15 $@, qr{Can't locate Cpanel/JSON/XS\.pm.*Can't locate JSON/XS\.pm.*Can't locate JSON/PP\.pm}s,