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
watson-wilson.ca

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