hi
i'm trying so hard to be good and follow directions.
it's be also helpful if you had submitted a proper bug report, at least so we
have an idea which mod_perl version you are talking about and some sample code ;) But I can see from your @INC that's 1.x.
In the future please follow: http://perl.apache.org/bugs/
when i run make test i keep getting errors like this:
[Tue Nov 25 17:12:11 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.
[Tue Nov 25 17:12:11 2003] [error] Undefined subroutine &My::child_init::handler called at PerlChildInitHandler subroutine `My::child_init' line 1.
now My::child_init is defined in t/docs/startup.pl but for some reason the test script isn't seeing it there. any suggestions?
Show us a sample code. Is it something like:
sub My::child_init::handler { ... }
or
package My::child_init; sub handler { ... }
followed by:
PerlChildInitHandler => \&My::child_init::handler
? Notice that we pass a code ref here.
Certainly if you said:
PerlChildInitHandler => My::child_init::handler
it'll try to load first My::child_init, unless in startup.pl you will also do:
$INC{"My/child_init.pm"} = __FILE__;
in which case the above PerlChildInitHandler will work just fine.
__________________________________________________________________ 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