While it isn't a very elegant solution, the recommend approach is to either die in the Makefile.PL or Build.PL (or BAIL_OUT in a test file) with one of the following messages: • No support for OS • OS unsupported CPAN Testers tools will look for one of those phrases and will send an NA (Not Available) report for that platform.