On Sat Jul 18 18:18:08 2015, ETHER wrote:
Show quoted text> On 2015-07-17 21:18:32, blue wrote:
> > An uninitialized warning message is coming from HTTP::Config on line
> > 43. This seems to only happen when an LWP handler is set (via
> > set_my_handler).
>
> A snippet of example code that demonstrates this would be extremely
> helpful, as I have not been able to create a reproduction case.
I narrowed it down to when a handler is set, then deleted by using the documented method of setting the handler for that phase to undef:
#!/usr/bin/env perl
use strict;
use warnings;
use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
$ua->set_my_handler(request_send => sub { shift->dump; return });
$ua->set_my_handler(request_send => undef);
$ua->get('
https://www.google.com/');