in reply to Re: install Bundle::CPAN help
in thread install Bundle::CPAN help

Should I just have to put in this URL (eg.: http://ftp.wayne.edu/cpan/) ? Nothing else?

Replies are listed 'Best First'.
Re^3: install Bundle::CPAN help
by atcroft (Abbot) on May 17, 2007 at 19:04 UTC

    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.

Re^3: install Bundle::CPAN help
by mr_mischief (Monsignor) on May 17, 2007 at 18:48 UTC
    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.