John Saylor wrote:
[...]
and this is what's in the error log:
[Wed Nov 26 15:41:19 2003] [error] Can't locate My/child_init.pm in @INC (@INC c
ontains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/sit
e_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 5) line 3.

[Wed Nov 26 15:41:19 2003] [error] Undefined subroutine &My::child_init::handler
 called at PerlChildInitHandler subroutine `My::child_init' line 1.

and if you add:


$INC{"My/child_init.pm"} = __FILE__;

similar to my previous patch.

This is not the right solution, but something to try. For some reason it can't see the sub child_init created in startup.pl, and tries to find it in My/child_init.pm, the curse we have finally removed in mp2.

I suppose that once you add it, it won't complain about My/child_init.pm, but will now complain about Undefined subroutine &My::child_init

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to