hi
( 03.12.11 11:19 -0800 ) Stas Bekman:
> try adding
> <Perl>
> $INC{"My.pm"} = __FILE__;
> </Perl>
>
> just before:
> PerlChildInitHandler My::child_init
i did it and it's about the same. here's the error log:
[Thu Dec 11 14:59:23 2003] [error] Can't locate My/child_init.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . /usr/local/src/mod_perl-1.29/t/
/usr/local/src/mod_perl-1.29/t/lib/perl) at (eval 7) line 3.
[Thu Dec 11 14:59:23 2003] [error] Undefined subroutine &My::child_init::handler
called at PerlChildInitHandler subroutine `My::child_init' line 1.
and here's a bit from t/conf/httpd.conf:
LoadModule mmap_static_module
../../apache_1.3.29/src/modules/experimental/mod_mmap_static.so
LoadModule example_module ../../apache_1.3.29/src/modules/example/mod_example.so
LockFile logs/mod_perl.lock
<Perl>
$INC{"My.pm"} = __FILE__;
</Perl>
PerlChildInitHandler My::child_init
PerlChildExitHandler My::child_exit
<Location /chain>
SetHandler perl-script
PerlHandler Stacked::one Stacked::two Stacked::three Stacked::four
</Location>
i appreciate all your help so far [even though it seems the problem
hasn't been advanced too much].
--
\js "don't panic"
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html