|Subject:||warning from CPAN.pm due to duplicate mentioning of dependencies|
When installing Module::Build from the CPAN shell, this happens: Creating new 'Build' script for 'Module-Build' version '0.34' (/home/rafl/.perl/bin/perl Makefile.PL exited with 0) Warning: PREREQ_PM mentions Test::Harness more than once, last mention wins at CPAN/Distribution.pm line 2815, <GEN1434> line 1. It's caused by reporting the Test::Harness dependency twice, once as a build requirement, once as a normal one. I'm unsure how this should be fixed. Module::Build could drop the less-specific dependency. It could also, as it is its own build-tool, only report the most-specific version of a dependency in PREREQ_PM. Alternatively, CPAN could simply pick the most specific dependency for a given module, if something is reported twice.