For some reason, while testing with mod_perl1 I get this error message:
waiting 60 seconds for server to start: .Syntax error on line 22 of
/home/fred/dev/apache-dispatch/trunk/t/conf/extra.last.conf:
Can't locate auto/Apache/Dispatch/DispatchReq.al in @INC (@INC contains:
/home/fred/dev/apache-dispatch/trunk/t/lib
/home/fred/dev/apache-dispatch/trunk/blib/lib
/home/fred/dev/apache-dispatch/trunk/blib/arch /home/fred/dev/sl/trunk/lib
/home/fred/dev/apache-dispatch/trunk/t
/home/fred/dev/perl/lib/5.8.6/i686-linux /home/fred/dev/perl/lib/5.8.6
/home/fred/dev/perl/lib/site_perl/5.8.6/i686-linux
/home/fred/dev/perl/lib/site_perl/5.8.6 /home/fred/dev/perl/lib/site_perl
. /home/fred/dev/apache-dispatch/trunk/t/
/home/fred/dev/apache-dispatch/trunk/t/lib/perl) at /dev/null line 0
In Apache::Dispatch (and Dispatch2) I setup an inheritance from
Apache::Dispatch::Util as follows:
use Apache::Dispatch::Util;
@Apache::Dispatch::ISA = qw(Apache::Dispatch::Util);
and in DispatchUtil.pm
sub DispatchRequire {
my ($cfg, $parms, $arg) = @_;
$cfg->{_require} = $arg;
}
The inheritance works properly under mod_perl2, so I'm guessing that this
is a mod_perl1 specific issue of calling inherited methods which are also
setup through the command_table function. If I define sub DispatchRequire
directly in the Apache::Dispatch package I don't receive the above error.
|