down vote Here’s what I’m pretty sure you’re looking for:

cpan> o conf prerequisites_policy follow

cpan> o conf build_requires_install_policy yes

cpan> o conf commit

via perl – How do I tell cpan to install all dependencies? – Stack Overflow.