Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Problem Starting CPAN Shell with ftp.perl.org

by Anonymous Monk
on May 13, 2010 at 06:39 UTC ( [id://839783]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Problem Starting CPAN Shell with ftp.perl.org
in thread Problem Starting CPAN Shell with ftp.perl.org

after much frustration, the following worked for me:

  1. cpan <-- answer "no" to initial setup.
    This allows (auto configured) Config.pm file (see below) to be initialised. Previously I think this file had "1;" or something helpful in it!
  2. I then added:
    'dontload_hash' => {"Net::FTP" => 1, "LWP" =>1 }, # disable Net::FTP + and LWP which usually hang to: /usr/lib/perl5/5.8.8/CPAN/Config.pm - see section: $CPAN::Config = { ...
    but this alone did not seem to do the job. I'm still not sure if this step had any effect.
  3. (in cpan shell)
    o conf urllist http://ppm.activestate.com/CPAN http://cpan.perl.org o conf commit quit

worked for me - thanks!

20100528 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://839783]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2026-02-18 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.