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

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

by neilwatson (Priest)
on Sep 30, 2012 at 16:41 UTC ( #996514=note: print w/replies, xml ) Need Help??

in reply to "getaddrinfo" is not exported by the Socket module

Progress. I installed Socket in local lib. I had to do this to load it:

#!/usr/bin/perl BEGIN { unshift @INC, "/home/neil/perl5/lib/perl5" } BEGIN { unshift @INC, "/home/neil/perl5/lib/perl5/x86_64-linux-thread- +multi" } use strict; use warnings; use Socket qw ( getnameinfo getaddrinfo );

If there is a better way I'm all ears. I know I can set a shell environment but, I'm not inclined to trust that once the program is shipped out.

Neil Watson

Replies are listed 'Best First'.
Re^2: "getaddrinfo" is not exported by the Socket module
by toolic (Bishop) on Sep 30, 2012 at 17:05 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996514]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-02-25 19:16 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (368 votes). Check out past polls.