in reply to Re: How to reset cpan to default values
in thread How to reset cpan to default values

Thanks this almost worked. It got me on track of trying to figure out where cpan kept its config stuff.

There was something in $HOME/.cpan/CPAN/MyConfig.pm that was setting the urllist and making it impossible to download the MIRRORED.BY file from a real cpan mirror. I removed it and magic happened.

  • Comment on Re^2: How to reset cpan to default values

Replies are listed 'Best First'.
Re^3: How to reset cpan to default values
by ansh batra (Friar) on Jun 18, 2012 at 17:30 UTC

    one more thing.take the backup of config.pm and if you want to do some minor changes in Ur CPAN configuration then simply edit config.pm which is easier than typing commands on Ur CPAN shell.
    eg if u want to add some URL then it is much easier and faster to edit the file