Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: How to require IPv6 support

by Anonymous Monk
on Aug 01, 2012 at 22:41 UTC ( #984911=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^3: How to require IPv6 support
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-12-28 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (181 votes), past polls