Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How do I force cpanp/CPANPLUS to not use LWP but wget or ftp instead?

Replies are listed 'Best First'.
Re: Force cpanpLUS to not use LWP
by afoken (Chancellor) on Jul 21, 2011 at 08:45 UTC

    Why? What is the problem with LWP?

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: Force cpanpLUS to not use LWP
by zwon (Abbot) on Jul 21, 2011 at 11:05 UTC
    bash$ cpanp s conf prefer_bin 1 \; s save
      Nice thought, but that appears to be related to prefering tar/gzip... to Archive::../Compress::... not wget

        If you look into source of CPANPLUS::Internals::Fetch you will see that it sets $File::Fetch::PREFER_BIN depending on value of prefer_bin. Unfortunately after looking into File::Fetch source I see that this is TODO variable and is not actually used. Well, you just need to implement this functionality in File::Fetch ;)