http://qs321.pair.com?node_id=424504


in reply to Re: When will CPAN.pm just work?
in thread When will CPAN.pm just work?

I have had a similar problem. It's due to the somewhat broken File Transfer Protocol. If you set the environment variable FTP_PASSIVE to 1 and then run cpan things should work better for you. In the bash shell this looks like:
export FTP_PASSIVE=1 perl -MCPAN -e shell