The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
CYGWIN/CPAN install of Expect.pm white222 UNIX for Dummies Questions & Answers 1 07-20-2005 09:27 PM
PERL & CPAN Intro for Newbies obitus Tips and Tutorials 0 06-15-2004 10:20 PM
modules under bsd pgas UNIX for Dummies Questions & Answers 2 04-28-2004 05:23 AM
Compilng Modules silvaman UNIX for Advanced & Expert Users 1 06-24-2003 07:40 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-11-2007
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
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.
  #2 (permalink)  
Old 07-11-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
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.
  #3 (permalink)  
Old 07-12-2007
dangral dangral is offline Forum Advisor  
Registered User
  
 

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

Thanks!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0