in reply to Should a CPAN module list Test:: modules as dependencies?

The test suite requires Test::Deep to verify certain results.

What happens if I don't have Test::Deep installed, and I do this:

perl -MCPAN -e 'install Your::Module'

If the above scenerio fails to install your module because the test fails, then you need to list the dependency. There are a lot of modules on the CPAN that get this wrong, including some fairly major ones.

If OTOH you can arrange for your module to install and run just fine without Test::Deep, you should. (I don't mean that you shouldn't have tests that use it, but that install shouldn't fail if they can't run; they should just be skipped or whatever.)


;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print