I've used cpan on many servers and am configuring it on a new CentOS7
server and am having trouble with the first run of cpan automatically
finding mirrors.
I run cpan with no arguments and it goes through the auto config and
errors at:
Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Looking for CPAN mirrors near you (please be patient)
string = Global CPAN CDN:
Invalid host name on line 36 at /usr/share/perl5/CPAN/FirstTime.pm line
1855.
The string = Global CPAN CDN:
is some debug I added to CPAN/Mirrors.pm to see what's going on.
That string appears to come from:
http://www.cpan.org/MIRRORED.BY
and line 36 is indeed:
"Global CPAN CDN:"
I don't believe I've done anything different than I've done dozens of
times in the past.
Any ideas of what might be happening or maybe there are cpan problems at
the moment?
Thanks,
Jim