http://www.perlmonks.org?node_id=808658


in reply to Re: CPAN.pm programming
in thread CPAN.pm programming

Yep, and the specific configuration key within that file is urllist, e.g.:
$CPAN::Config->{urllist} = [q[ftp://some.site.com/cpan/], q[http://cpa +n.elsewhere/]];
They are checked in the order in which they appear, falling through to later entries if the connection fails or if a particular name can't be found.