in reply to Working with mod_perl
Also, are you using Apache::PerlRun or Apache::Registry? With Apache::PerlRun, the script is reloaded each time, and the namespace is cleared - when you are using a "require", it will only do the require the first time, but the namespace is cleared between each request, so anything that isn't in a different package is lost. If this is an issue, try "use" instead of "require", and make sure that everything is in a package.
Of course, all of this is just guesses without seeing the code. Once mod_perl was set up and running correctly, and our code ported, I have found it fairly easy to debug. If all else fails, make a simpler test script, and add to it until you can duplicate the issues.
techy
|
|---|