http://qs1969.pair.com?node_id=715159


in reply to Upgrading Core Modules Using CPAN - Best Practice?

You can configure the CPAN shell to uninstall outdated modules like so:
cpan> o conf mbuild_install_arg UNINST=1
cpan> o conf make_install_arg '--uninst 1'
Or follow the prompts:
cpan> o conf init