In my particular case, the module in question is List::MoreUtils, which, I gather, is a core module. I didn't care about it because I thought it's always present. But I'm getting mails from CPAN testers that the tests failed on the absence of List::MoreUtils. I assumed that the testers provide only those modules which are declared as required. If I condition the tests on them, then they will be skipped and the tests will not be run by the testers, which would deteriorate the benefit of the testers' work.
Maybe I'm assuming wrongly and the tester's test failed because they really didn't have List::MoreUtils?
use strict; use warnings; print "Just Another Perl Hacker\n";