in reply to Re^2: HP-UX 11.11 Your vendor has not defined Socket macro AF_INET6
in thread HP-UX 11.11 Your vendor has not defined Socket macro AF_INET6

If you have perl 5.8 version of Socket module, which apparently does not export AF_INET6, then should not the original code (in new Socket6) have stuffed *F_INET6 in @EXPORT? That raises the question: do you have perl 5.10 installed too?
  • Comment on Re^3: HP-UX 11.11 Your vendor has not defined Socket macro AF_INET6

Replies are listed 'Best First'.
Re^4: HP-UX 11.11 Your vendor has not defined Socket macro AF_INET6
by Anonymous Monk on May 09, 2008 at 19:33 UTC
    I am seeing this very same issue on Solaris. Not only did I have to remove the if statement from Socket6.pm, I also had to explicitly import AF_INET6 in INET6.pm, to get everything working. This doesn't make much sense to me. With ActiveState Perl 5.10 everything works as I would expect, I don't have to do anything special, but with 5.8 I have issues. I compared the Socket.pm file between the two and as far as AF_INET6 is concerned they are the same.