On Thursday, June 16, 2011 16:56:03 William Bulley wrote:
> The only reference to the Apache2::Const module is in an Apache
> config include file:
>
> PerlModule "Apache2::Const -compile => ':common'"
Try
<Perl>
use Apache2::Const -compile=>qw/:common/;
</Perl>
What you try to do is
use q{Apache2::Const -compile => ':common'};
You can also write
PerlModule Apache2::Const
It complies the same symbols as :common does, see:
$ perl -MApache2::Const -le 'print for keys %{Apache2::Const::}'
DECLINED
compile
AUTH_REQUIRED
REDIRECT
OK
DONE
bootstrap
import
ISA
BEGIN
SERVER_ERROR
VERSION
FORBIDDEN
NOT_FOUND
$ perl -le 'use Apache2::Const -compile=>qw/:common/; print for keys
%{Apache2::Const::}'
DECLINED
compile
AUTH_REQUIRED
REDIRECT
OK
DONE
bootstrap
import
ISA
BEGIN
SERVER_ERROR
VERSION
FORBIDDEN
NOT_FOUND
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]