Ano-Tech Computers
Enter keyword:

Perl: Disable FTP
Problem:
When using Perl CPAN from inside a firewall blocking FTP traffic, how do I prevent CPAN from trying to use the FTP protocol?
 
Solution:
Add the following line to your CPAN Config.pm:
'dontload_hash' => { 'Net::FTP' => 1 },

For more information about CPAN, see
http://sial.org/howto/perl/life-with-cpan/
 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles