vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Thu, 11 Dec 2003 15:09:07 +1100, Doug Laidlaw wrote: > The CPAN mirror I nominated as first choice never works. How can I move it > to the bottom of the list without a complete reinstall? > > Doug. $ perl -MCPAN -e shell cpan> o conf init The last command will step you through the entire config process again, but the old values will be used as the default, so you just return through until you get to the urllist selection. There may be a way to easily change just the urllist, but I have never bothered checking into it. |
| |||
| "Doug Laidlaw" <laidlaws@myaccess.com.au> wrote in message news:387la1-jnm.ln1@dougshost.mydomain.org.au... > The CPAN mirror I nominated as first choice never works. How can I move it > to the bottom of the list without a complete reinstall? > > Doug. > -- > Love, even the love of God, is only mediated through persons. > - Leslie Weatherhead. Most perl modules are in files cales 'module-name.pm", in this case "CPAN.pm". For RedHat 9, which runs the "updatedb" command nightly, you can just do: locate CPAN.pm And edit the reported file as root to something more workable. I tend to create a local FTP mirror myself, to vastly speed CPAN processes. |
| ||||
| "Doug Laidlaw" <laidlaws@myaccess.com.au> wrote in message news:387la1-jnm.ln1@dougshost.mydomain.org.au... > The CPAN mirror I nominated as first choice never works. How can I move it > to the bottom of the list without a complete reinstall? > > Doug. Whoops. It's actually saved in the CPAN/Config.pm file: look for such a file with the "locate" command, or wherever you put your perl installation. |