X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FInstallation%2FCentOS4.pod;h=40ccb02eacff442afd7ca56094bc02baf07b899f;hp=dd4aa2792f3879038a206ca1af00bc657c3b22b1;hb=d532d3540a37e6efc518ffa0bd8fd0e240453240;hpb=ce1dd3213211f2f10f226c3f37acbe1f91463327 diff --git a/lib/Catalyst/Manual/Installation/CentOS4.pod b/lib/Catalyst/Manual/Installation/CentOS4.pod index dd4aa27..40ccb02 100644 --- a/lib/Catalyst/Manual/Installation/CentOS4.pod +++ b/lib/Catalyst/Manual/Installation/CentOS4.pod @@ -194,27 +194,33 @@ script by entering the following command at the C> prompt: It will then take you through the configuration dialog. -However, it's often easiest to manually edit the C setting in -the CPAN configuration file (global configuration settings are located -in C with per-user override -settings optionally specified in C<~/.cpan/CPAN/MyConfig.pm>). For -example, open C in your editor and -update the C entry (do not change or delete the other -settings): - - $CPAN::Config = { - ... - 'urllist' => [q[http://www.perl.com/CPAN/]], - ... - }; - 1; - __END__ +However, it's often easiesr to avoid the full configuration dialog and +manually add a URL. To prepend a new URL to the B of the list, +use the C option to C: + + cpan> o conf urllist unshift http://www.perl.com/CPAN/ Where C is replaced by a nearby, HTTP-based mirror. You can get a list of all mirrors (including where they are located, their bandwidth, and their update frequency) at L. +Then, be sure to save your changes (or they will be lost the next +time you restart the CPAN shell): + + cpan> o conf commit + +You can view the current settings with C (or just +C to view all settings): + + cpan> o conf urllist + urllist + http://www.perl.com/CPAN/ + Type 'o conf' to view configuration edit options + +Note that multiple values can be entered for the C option (the +first entry will be used as long as it responds). + =item * Type C to