Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 contemplating the Monastery: (6)
As of 2018-01-17 22:35 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (206 votes). Check out past polls.