you can delete /etc/perl/CPAN/Config.pm and then try perl -MCPAN -e shell
In reply to Re: How to reset cpan to default values by ansh batra in thread How to reset cpan to default values by xorl