in reply to Re^3: Problem Starting CPAN Shell with ftp.perl.org
in thread Problem Starting CPAN Shell with ftp.perl.org

So I did ... # perl -MCPAN -e 'shell' And then ... cpan> o conf urllist http://ppm.activestate.com/CPAN http://cpan.perl.org cpan> exit Terminal does not support GetHistory. Lockfile removed. But when I do # cpan I still get ... Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY Fetching with Net::FTP ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
  • Comment on Re^4: Problem Starting CPAN Shell with ftp.perl.org

Replies are listed 'Best First'.
Re^5: Problem Starting CPAN Shell with ftp.perl.org
by Corion (Patriarch) on Jul 17, 2012 at 15:02 UTC
    # perl -MCPAN -e 'shell'
    And then ...
    cpan> o conf urllist http://ppm.activestate.com/CPAN http://cpan.p +erl.org cpan> exit Terminal does not support GetHistory. Lockfile removed.

    You did not save your configuration. Before leaving the CPAN shell, you need the

    o conf commit

    command. Just like the posts instructed you.

      # perl -MCPAN -e 'shell'
      Tip for the technically less experienced people: the quotes are unnecessary on all platforms that I know off, so to avoid portability problems, it may be better to drop them:
      perl -MCPAN -e shell
      Still getting the following even after the o conf commit
      Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY