I have Apache 1.3.12 using mod_perl 1.24 as a DSO, built with Perl 5.6.0
which is running on Linux 2.2.14.
When the following is presented in the httpd.conf file:
#
PerlModule Apache::Hello
<Location /hello/world>
SetHandler perl-script
PerlHandler Apache::Hello->handler
</Location>
#
Results in the following error_log output:
[Sun Aug 6 21:48:02 2000] [error] Undefined subroutine
&Apache::Hello->handler::handler
called at PerlHandler subroutine `Apache::Hello->handler' line 1.
(Opps. . . sorry about testing on Sunday :-)
The following works fine:
#
<Location /hello/world>
SetHandler perl-script
PerlHandler Apache::Hello
</Location>
#
The proper interpretation is presented in the Eagle book
(Apache Modules - Lincoln Stein:) on page 191.
That is, use the method within the PerlModule if it exists, otherwise
search the
directory for the module.