Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 making s'mores by the fire in the courtyard of the Monastery: (17)
As of 2015-07-02 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (36 votes), past polls