Executing XML-RPC commands on IPV6 address
We have been adding support for IPV6 and there are many Perl scripts executing XML-RPC client commands against a Java-based XML-RPC server. 
Trying to connect to an IPV6 address fails with "Bad hostname": 

<code>
my $cli = RPC::XML::Client->new("http://localhost6:$port/RPC2");
my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', RPC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
</code>

Error: 
<p>Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to localhost6:8099 (Bad hostname 'localhost6')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to localhost6:8099 (Bad hostname 'localhost6')"?) </p>

The following attempt also fails: 

<code>
my $cli = RPC::XML::Client->new("http://[2001:db8:c18:2:250:56ff:fead:+2d92]:$port/RPC2");
my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', RPC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
</code>

Error:
<p>Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to 2001:db8:c18:2:250:56ff:fead:2d92:8099 (Bad hostname '2001:db8:c18:2:250:56ff:fead:2d92')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to 2001:db8:c18:2:250:56ff:fead:2d92:8099 (Bad hostname '2001:db8:c18:2:250:56ff:fead:2d92')"?) </p>


I've read the "State of Perl", and would like to know whether upgrading some of the dependant modules will do, and if not, what other options are available? 


Executing XML-RPC commands on IPV6 address
===

We have been adding support for IPV6 and there are many Perl scripts executing XML-RPC client commands against a Java-based XML-RPC server. 
Trying to connect to an IPV6 address fails with "Bad hostname": 

<code>
my $cli = RPC::XML::Client->new("http://localhost6:$port/RPC2");
my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', RPC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
</code>

Error: 
<p>Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to localhost6:8099 (Bad hostname 'localhost6')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to localhost6:8099 (Bad hostname 'localhost6')"?) </p>

The following attempt also fails: 

<code>
my $cli = RPC::XML::Client->new("http://[2001:db8:c18:2:250:56ff:fead:+2d92]:$port/RPC2");
my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', RPC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
</code>

Error:
<p>Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to 2001:db8:c18:2:250:56ff:fead:2d92:8099 (Bad hostname '2001:db8:c18:2:250:56ff:fead:2d92')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to 2001:db8:c18:2:250:56ff:fead:2d92:8099 (Bad hostname '2001:db8:c18:2:250:56ff:fead:2d92')"?) </p>


I've read the "State of Perl", and would like to know whether upgrading some of the dependant modules will do, and if not, what other options are available? 

