Re: apache2 or mod_perl2 oddball error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux