Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: When will CPAN.pm just work?

by friedo (Prior)
on Jan 24, 2005 at 03:07 UTC ( #424485=note: print w/replies, xml ) Need Help??


in reply to When will CPAN.pm just work?

Using CPAN with FTP mirrors has been impossible for me. I don't know if it's a problem with my network configuration or what, but changing it to use only HTTP mirrors made it work fine, so I never bothered to solve the problem.

Replies are listed 'Best First'.
Re^2: When will CPAN.pm just work?
by superfrink (Curate) on Jan 24, 2005 at 05:44 UTC
    I have had a similar problem. It's due to the somewhat broken File Transfer Protocol. If you set the environment variable FTP_PASSIVE to 1 and then run cpan things should work better for you. In the bash shell this looks like:
    export FTP_PASSIVE=1 perl -MCPAN -e shell

      In bash and zsh (and probably most other shells), you can also set the environment variable on a per-process basis like this:

      $ FTP_PASSIVE=1 perl -MCPAN -e shell

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2023-01-31 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?