Lines Matching defs:LWP
250 package CPAN::LWP::UserAgent;
252 # we delay requiring LWP::UserAgent and setting up inheritence until we need it
699 LWP => [ # we frequently had "Can't locate object
700 # method "new" via package "LWP::UserAgent" at
702 sub {require LWP},
703 sub {require LWP::UserAgent},
745 # checking %INC is wrong, because $INC{LWP} may be true
778 delete $INC{$file}; # if it inc'd LWP but failed during, say, URI
2173 package CPAN::LWP::UserAgent;
2177 if ($CPAN::META->has_usable('LWP::UserAgent')) {
2178 require LWP::UserAgent;
2179 @ISA = qw(Exporter LWP::UserAgent);
2182 $CPAN::Frontend->mywarn("LWP::UserAgent not available\n");
2218 # LWP::UserAgent. LWP::UserAgent will then call
2349 if ($CPAN::META->has_usable('LWP::UserAgent')) {
2351 CPAN::LWP::UserAgent->config;
2352 eval {$Ua = CPAN::LWP::UserAgent->new;}; # Why is has_usable still not fit enough?
2354 $CPAN::Frontend->mywarn("CPAN::LWP::UserAgent->new dies with $@\n")
2496 if ($CPAN::META->has_usable('LWP')) {
2497 $CPAN::Frontend->myprint("Fetching with LWP:
2501 CPAN::LWP::UserAgent->config;
2502 eval { $Ua = CPAN::LWP::UserAgent->new; };
2504 $CPAN::Frontend->mywarn("CPAN::LWP::UserAgent->new dies with $@\n");
2516 $CPAN::Frontend->myprint("Fetching with LWP:
2528 "LWP failed with code[%s] message[%s]\n",
2533 # Net::FTP can still succeed where LWP fails. So we do not
2534 # skip Net::FTP anymore when LWP is available.
2537 $CPAN::Frontend->myprint("LWP not available\n");
6026 knows how to use Net::FTP or LWP (or lynx or an external ftp client)
6321 for $mod (CPAN::Shell->expand("Module","/Apache|LWP|CGI/")){
6682 this module. Otherwise Net::FTP is strongly recommended. LWP may be
6686 If you have neither Net::FTP nor LWP, there is a fallback mechanism
6927 ftp) you will need to use LWP.