Just another Perl shrine | |
PerlMonks |
Re^3: perl and getaddrinfo APIby Athanasius (Archbishop) |
on Apr 20, 2016 at 12:47 UTC ( [id://1160988]=note: print w/replies, xml ) | Need Help?? |
Perl 5.8 is very old. Whether that’s the problem I don’t know; but when I add a line defining $hostname to the code you posted:
it works correctly on my system:
(Windows 8.1 64-bit, Strawberry Perl 5.22.1, Socket v2.021.) Hope that helps,
In Section
Seekers of Perl Wisdom
|
|