Re: PerlRun error - Not a CODE reference
Hi Stas, First upgrade to 1.99_09. Then run its test suite. After, I think Dale, has reported a similar problem, I have written a dedicated test for this report. You can verify whether it works for you cd ModPerl-Registry/ t/TEST -v t/perlrun_require.t If it doesn't, please report here. If it does, please check what's different in your code from this test. Notice that this test ensures that it hits the same interpreter, which you can reproduce with your code using 'httpd -DONE_PROCESS' I have upgraded to 1.99_09, and it works now :) You are my savior, thank you very much :)
Re: PerlRun error - Not a CODE reference
Hi Dale, I tried to run the same configuration a while back using the stock release of RedHat 8.0 and received the same problem. Stas gave me a few ideas to try but nothing worked, so I gave up using Apache 2.0 with PerlRun mode and had to drop back to Apache 1.3 with mod_perl 1.27. I think you might be at the same dead end that I hit and I spend dozens of hours trying to get it to work to no avail. If you do find the magic bullet, please make sure to post the fix to the list so I can benefit from your experience. I upgraded to 1.99_09 and it works perfectly now. Just go and get it here: http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz And you also need to upgrade your CGI.pm to 2.93 to pass the test. I also have built RPM for my system (RedHat 8.0), you can ask for it if you want.