Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by syphilis (Chancellor)
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

Replies are listed 'Best First'.
Re^2: "getaddrinfo" is not exported by the Socket module
by neilwatson (Priest) 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?
[choroba]: Related to the new release, anyone could explain this or this tester report?
[Discipulus]: hello crew! marto thanks for the message: but I how can I help? i'm testing cpan Padre atm problem with Client::Debug
[choroba]: I don't happen to have 5.10.0 nor 5.8.5 handy...
[Corion]: Hmm - I would say the 5.8.5 is a broken installation / corrupt tarball download, and the 5.10.0 is really weird, and maybe a bug in that version of Perl
[Corion]: I don't see how my $result = eval q{'abc' =~ ?b?}; could create a "Modification of read-only value" error
[marto]: Discipulus the issue that should be adressed is that the page needs to be updated to reflect modern perl on Windows
[Discipulus]: but is really necessary to support these ancient versions? from 5.14 onward is not enough?
[Discipulus]: yes marto I understood
[Corion]: Discipulus: I'm slowly migrating my code to require 5.8.x ;) Most of my code works on 5.6, but Filter::signatures requires 5.10 I think

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2018-06-25 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?