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.


In reply to Re^3: install Bundle::CPAN help by atcroft
in thread install Bundle::CPAN help by hdrews

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.