Lines Matching defs:UserAgent
250 package CPAN::LWP::UserAgent;
252 # we delay requiring LWP::UserAgent and setting up inheritence until we need it
700 # method "new" via package "LWP::UserAgent" at
703 sub {require LWP::UserAgent},
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")
2501 CPAN::LWP::UserAgent->config;
2502 eval { $Ua = CPAN::LWP::UserAgent->new; };
2504 $CPAN::Frontend->mywarn("CPAN::LWP::UserAgent->new dies with $@\n");