This is a somewhat simple query that identifies CPAN authors that use modules from the Test namespace in their runtime phase, according to the data from CPANDB. SELECT d.author, count(r.module) AS test_namespace_used_in_runtime_phase FROM requires r JOIN distribution d ON r.distribution = d.