diff --git a/banned.lst b/banned.lst index e3f6489..e5098dc 100644 --- a/banned.lst +++ b/banned.lst @@ -142,3 +142,8 @@ OurNet::Template::Extract OurNet::Template::Generate OurNet::WebBuilder Slash::OurNet::Standalone +CPAN::Index +CPAN::Index::Author +CPAN::Index::Distrobution +CPAN::Index::Loader +CPAN::Index::Package diff --git a/lib/TestCpanInc.pm b/lib/TestCpanInc.pm index 70cc7b0..b6f416c 100644 --- a/lib/TestCpanInc.pm +++ b/lib/TestCpanInc.pm @@ -90,6 +90,9 @@ sub run_cpanm { sub test_module { my $module = shift; + + return "banned module" if (Module::_is_banned($module)); + remove_imc(); my ($ret, $noincout) = run_cpanm($module, 0);