Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Forcing to ignore LWP/Net::FTP and use wget/lynx etc

by PodMaster (Abbot)
on Sep 28, 2004 at 10:20 UTC ( #394523=note: print w/replies, xml ) Need Help??

in reply to Forcing to ignore LWP/Net::FTP and use wget/lynx etc

From what I can tell (by scanning for LWP), you need to override sub CPAN::has_usable, something like the following should do
#!/usr/bin/perl use CPAN(); $CPAN_has_usable = \&CPAN::has_usable; local *CPAN::has_usable = sub { return if $_[1] =~ /^(?:Net|LWP)/; return $CPAN_has_usable->( @_ ); }; do 'path/to/perl/bin/cpan';

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2016-10-25 11:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (317 votes). Check out past polls.