|Date:||Fri, 28 Aug 2015 00:17:51 -0400|
|To:||bug-Finance-Quote [...] rt.cpan.org|
|From:||Stéphane Graber <stgraber [...] stgraber.org>|
Hello, I've recently switched my home network to be IPv6-only, using DNS64 and NAT64 so I can still reach IPv4 hosts when needed. Most software are working properly, though I've noticed quite a few problems with perl software and IPv6 sockets. Finance::Quote is one of those. I use it through GNUcash to grab the current exchange rate (currency part of it) and it stopped working after I dropped IPv4 connectivity. As far as I can tell, the reason for that is that perl's http client LWP doesn't even attempt to open an IPv6 socket with the remote server. I've worked around this by adding the following line to the affected files: require Net::INET6Glue::INET_is_INET6; This does some magic to get IPv4-only perl code to suddenly do IPv6 the right way and it's working great for Finance::Quote. I'm just not sure whether it's something you'd be willing to depend on (unless you can somehow do this conditionally, I don't really know perl). Anyway, my workaround works fine here, but I figured I may not be alone in this situation so it'd be great to have this resolved for everyone! Stéphane
Message body not shown because it is not plain text.