in reply to "getaddrinfo" is not exported by the Socket module
BEGIN { unshift @INC, "/home/neil/perl5/lib/perl5" }
Is the "later version" of Socket.pm located in the /home/neil/perl5/lib/perl5/ directory ?
I expect it might be in a *sub-directory* of that location. If so, then you'll still be loading the original version of Socket.pm.
Update: Of the various versions of Socket that I have, version 1.94 is the earliest version that exports getaddrinfo. (I have it with perl-5.14. The versions I have with 5.10.0 and 5.12.0 don't export getaddrinfo.)
Cheers,
Rob
Is the "later version" of Socket.pm located in the /home/neil/perl5/lib/perl5/ directory ?
I expect it might be in a *sub-directory* of that location. If so, then you'll still be loading the original version of Socket.pm.
Update: Of the various versions of Socket that I have, version 1.94 is the earliest version that exports getaddrinfo. (I have it with perl-5.14. The versions I have with 5.10.0 and 5.12.0 don't export getaddrinfo.)
Cheers,
Rob
In Section
Seekers of Perl Wisdom