How to rebuild/reinstall dependencies of an up to date CPAN module?

matthias krull picture matthias krull · Mar 23, 2011 · Viewed 27.1k times · Source

I need to reinstall the dependencies of a CPAN module. Some dependencies which are usually installed are missing but the package itself is up to date to cpan.

So how can i still install the dependencies?

Answer

mob picture mob · Mar 23, 2011

Be forceful.

From cpan command-line application:

$ cpan -f -i Module::With::Dependencies

From CPAN shell:

cpan[1]> force install Module::With::Dependencies