hi

( 03.11.26 13:46 -0800 ) Stas Bekman:
> 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

that's true:
[Thu Dec 11 13:58:28 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 5) line 3.

[Thu Dec 11 13:58:28 2003] [error] Undefined subroutine &My::child_init::handler 
called at PerlChildInitHandler subroutine `My::child_init' line 1.

and here's the diff from startup.pl:

ralph docs # diff startup.pl.orig startup.pl
145c145
<
---
> $INC{"My/child_init.pm"} = __FILE__;


-- 
\js     "don't panic"


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

Reply via email to