On Tue, 15 Mar 2005 15:54:54 +0200, Octavian Rasnita wrote: > Hi all, > > I have a problem using the cpan command line for installing modules because > I don't know for what reasons, some FTP sites are not accessible, but cpan > doesn't give a short enough timeout, and I need to wait very much until > those servers give a timeout and the 404 error. > > Is there a way to change these settings in order to specify that if a server > doesn't answer in... let's say 15 seconds, break the connection and try with > the second CPAN mirror?
perl -MCPAN -e shell o conf inactivity_timeout 15 o conf commit q -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>