in reply to The interactive shell to do the local cpan configuration

Typing help gives me a help screen. Also, reading CPAN helps.

The command you seem to be looking for is:

o conf

for displaying the configuration,

o conf gzip

to set a new value for the gzip option and

o conf init

to go through the whole initialization process once again.

Replies are listed 'Best First'.
Re^2: The interactive shell to do the local cpan configuration
by zli034 (Monk) on Sep 02, 2007 at 20:22 UTC

    o conf init

    This is what I want

      well I usually change directly the CPAN::MyConfig.pm in the .cpan directory. I also need different ones to manage various distros and proxies. In the end I use aliases/scripts like this:

      % steph@ape (/home/stephan/) % % cat /bin/perl_cpan58[78] #!/usr/bin/bash perl -I ~/.cpan587 -MCPAN::MyConfig -MCPAN "$@" #!/usr/bin/bash PATH=/opt/perl588/bin:/usr/bin perl -I ~/.cpan588 -MCPAN::MyConfig -MCPAN "$@"
      cheers --stephan