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.