in reply to Re: How to require IPv6 support
in thread How to require IPv6 support

Nice, I hadn't seen that repo's web interface yet! That's a solution for core modules at least, but I still have the problem under (2) that even though it's the latest version it may not work.

For now I think I'll work around it by simply skipping the corresponding tests and noting in the docs that you must have an IPv6-enabled Socket module to use this, but it would be nice to be able top specify this in a Module::* installer.

Replies are listed 'Best First'.
Re^3: How to require IPv6 support
by Anonymous Monk on Aug 01, 2012 at 22:41 UTC

    For now I think I'll work around it by simply skipping the corresponding tests and noting in the docs that you must have an IPv6-enabled Socket module to use this,

    Sounds like the common practice :)

    but it would be nice to be able top specify this in a Module::* installer.

    Hmm, so a patch to Module::Depends - identify the dependencies of a distribution

    and a patch to Module::Install#requires

    So you end up with

    requires qw' Socket 2 unpack_sockaddr_in6 '; # requires qw' Socket 2 Socket::unpack_sockaddr_in6 ';

    That could work, and doesn't look particularly hard to implement.