Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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 browsing the Monastery: (2)
As of 2017-04-23 14:57 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (431 votes). Check out past polls.