CPAN: using only wget to d/l modules?

Is there a way to tell CPAN not to use Net::Ftp and the ftp binary? I want to only use wget to download perl modules.

Not sure about Net::FTP. I guess it will always be tried if the module exists anyway. But if you do not configure the relevant program path in CPAN config, I think cpan should bypass that method. Say, see if it helps by typing

o conf ftp ""

on your CPAN shell. Then try fetching. If it works, then just

o conf commit

to save the setting.

I removed Net::Ftp and blanked out the configuration for the ftp binary. Now CPAN only uses wget when trying to download packages.

Thanks!