in reply to Updating Config.pm

Assuming we're talking about CPAN::Config.pm, it's created the first time you start the CPAN shell, if no Config.pm exists. An easy, simple way to edit it is just delete it, then next time you start CPAN.pm shell it'll reprompt you for all the various stuff.

Replies are listed 'Best First'.
Re: Re: Updating Config.pm
by etcshadow (Priest) on Jun 01, 2004 at 22:51 UTC
    Well, there's a plain old root-level Config.pm, too... although I have to admit that when I earlier said that I had manually edited Config.pm, I was lying. I had actually edited CPAN::Config.pm (oops... I didn't remember till later).

    Specifically, it was because the prompt for entering a list of mirrors said to separate the mirrors by spaces and then hit enter (which I did), even though it actually wanted you to put each mirror on its own line (enter between each mirror). It was easier to edit CPAN::Config.pm than to go through the entire CPAN config process... espescially since it was pretty apparent where the config process steered me wrong.

    ------------ :Wq Not an editor command: Wq
Re: Re: Updating Config.pm (CPAN::Config)
by bmann (Priest) on Jun 02, 2004 at 08:18 UTC
    It looks like the OP was looking for the other Config.pm.

    Regarding CPAN::Config.pm, another (IMO better) way is to type "o conf init" (minus the quotes of course) at the CPAN prompt. CPAN will walk you through the configuration.

    The benefit of doing it this way is that CPAN will use your current configuration to provide the default responses.