When you first the cpan command line utility it asks you a rather tedious list of questions about your setup. Occasionally you need to go through it all again. Use the command 'o conf init' at the cpan prompt to force this behaviour.