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


in reply to Re: CPAN problems on Mac OS X
in thread CPAN problems on Mac OS X

No, no, no, no. The problem is that Mac OS X uses passive FTP by default. You have to set an environmental variable -- FTP_PASSIVE=1 to let CPAN know how to FTP properly. If you're using bash, type "export FTP_PASSIVE=1" in your shell; tcsh, type "setenv FTP_PASSIVE 1".

Replies are listed 'Best First'.
Re^3: CPAN problems on Mac OS X
by Anonymous Monk on Aug 13, 2004 at 08:48 UTC
    Thanks everyone for the replies. I tried setting the env variable FTP_PASSIVE=1 and cpan worked straight away. Perl Monks just saved me many hours.