in reply to LWP::Useragent and globbing?

LWP::UserAgen depends on Net::HTTP. From the doc of the latter ...

Net::HTTP is a sub-class of one of IO::Socket::IP (IPv6+IPv4), IO::Socket::INET6 (IPv6+IPv4), or IO::Socket::INET (IPv4 only).

Do you have IO::Socket::IP or IO::Socket::INET6 installed to handle IPv6 addresses?

Replies are listed 'Best First'.
Re^2: LWP::Useragent and globbing?
by leefp (Initiate) on Feb 01, 2019 at 20:30 UTC
    I'm using these two...and I can talk to some IPv6 systems perfectly fine (like vCenters).
    use IO::Socket::SSL qw( SSL_VERIFY_NONE ); use IO::Socket::INET;
    And later in the code...
    my $ua = LWP::UserAgent->new(); $ua->ssl_opts( SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, SS +L_hostname => '', verify_hostname => 0 );