Should I just have to put in this URL (eg.: http://ftp.wayne.edu/cpan/) ? Nothing else? | [reply] |
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. | [reply] [d/l] [select] |
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.
| [reply] |
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.
| [reply] |
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.
| [reply] |