Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: "getaddrinfo" is not exported by the Socket module

by syphilis (Canon)
on Sep 30, 2012 at 05:13 UTC ( #996456=note: print w/ replies, xml ) Need Help??


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


Comment on Re: "getaddrinfo" is not exported by the Socket module
Re^2: "getaddrinfo" is not exported by the Socket module
by neilwatson (Curate) on Sep 30, 2012 at 16:17 UTC

    The later version of Socket I installed is here: /home/neil/perl5/lib/perl5/x86_64-linux-thread-multi/Socket.pm

    Neil Watson
    watson-wilson.ca

Log In?
Username:
Password:

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

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

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





    Results (161 votes), past polls