cpan configuration

Enable automatic follow-up and install of needed modules.

1.  open a cpan shell:

perl -MCPAN -e shell

2.  enable automatic follow-up

o conf prerequisites_policy follow

o conf commit

Here is a one-liner from stackoverflow!

perl -MCPAN -e 'my $c = "CPAN::HandleConfig"; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => "follow"); $c->edit(build_requires_install_policy => "yes"); $c->commit'