I have a name-based virtual host and want to use Socket.pm in a PerlSection:
use Socket;
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/pe
>
> BTW, to avoid confusion I'd prevent the import() function from being
> called in startup.pl by either
>
> use Config1 ();
> use Config2 ();
>
> or
>
> BEGIN {
> require Config1;
> require Config2;
> }
>
> Torsten
Thanks Torsten.
So if I don't use them in the startup.pl, then n
On 11/09/2012 06:40 AM, Feng He wrote:
> Nobody knows this item?
I think you didn't get an answer here because the question is not
related to modperl. It's purely perl matter.
Exporting a variable out of package A into package X means something like
*X::var=\$A::var;
Now, you have to figure o