in reply to Re: Mod_perl strict problem
in thread Mod_perl strict problem

Interesting, when you said that mod_perl doesn't force strict, I commented out that part of the script and it prints in SSH with no errors, and no errors in the log, still sending me to this darn 502 page.

Replies are listed 'Best First'.
Re^3: Mod_perl strict problem
by perrin (Chancellor) on Apr 07, 2007 at 19:31 UTC
    A 502 is a proxy problem. Are you using a proxy in front of the server? What happens if you access the server directly? Maybe it's not sending the output you think it is.
      Haha, I had my return value (1;) from the require above my DBI connection, so none of it was getting passed in mod_perl (worked fine in mod_cgi), and thus it was causing a cascade of problems that showed rss_function causing the error.

      whew, this brings to light that I need to start making more objects, less environment to deal with.

      By the way, I do have a reverse proxy installed for the static site content, I guess the problem propagates everywhere when you keep everything in memory. Anyways, thanks for your help!