perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Heiges <mhei...@gmail.com>
Subject Re: failure using Socket in PerlSection
Date Sat, 10 Nov 2012 14:43:24 GMT

On Nov 9, 2012, at 10:36 PM, Mark Heiges wrote:

> I have a name-based virtual host and want to use Socket.pm in a PerlSection:
> 
> <Perl>
> use Socket;
> </Perl>
> 
> but when starting httpd I get the error,
> 
> $parms->add_config() has failed: Invalid command 'INADDR_ANY', perhaps misspelled
or defined by a module not included in the server configuration at /usr/lib64/perl5/Apache2/PerlSections.pm
line 215.\n

Nevermind. I can selectively export only the symbols I need.

<Perl>
use Socket qw(inet_ntoa);
</Perl>

Mime
View raw message