in reply to install Bundle::CPAN help

Have you tried to see if you can reach the sites listed in your URLLIST, through something like lynx or another browser on the machine, to make sure there isn't something blocking you?

If you need/wish to try additional CPAN mirrors, the current list can be found on the CPAN website.

Replies are listed 'Best First'.
Re^2: install Bundle::CPAN help
by hdrews (Initiate) on May 17, 2007 at 18:44 UTC
    Should I just have to put in this URL (eg.: http://ftp.wayne.edu/cpan/) ? Nothing else?

      If you're in the CPAN shell (by, for example, issuing the command perl -MCPAN -e 'shell;'), then you would do something like:

      o conf urllist http://ftp.wayne.edu/cpan/ o conf commit
      (The last line saves the changes to the configuration.) As mr_mischief suggested, you probably would want to have more than one mirror you were trying to reach, so you might do something like:
      o conf urllist http://ftp.wayne.edu/cpan/ http://mirror.sit.wisc.edu/p +ub/CPAN/ o conf commit

      According to the documentation for CPAN.pm, 'o conf urllist ' can also be followed by the commands unshift, shift, push, pop, splice, and list to examine or update the configuration option.

      Hope that helps.

      I always choose at least 3 to 5 sites for CPAN. Sites come up, they go down, their directory structure changes, etc. It's good to have mirrors.


      Christopher E. Stith
        OK. I got it figured out. I am more of a newbie than I thought possible. I was not doing the o conf commit. Thanks for your time.
        Thanks for your help thus far. I'm not sure what I'm doing wrong but when I type in o conf urllist my results are not complete. I know I have added other urls but they're not there. I type in o conf urllist push http://ftp.wayne.edu/cpan/ Is there something I'm doing wrong here? Thanks.