in reply to Re^3: source filtering and mod_perl2
in thread source filtering and mod_perl2

Bareword found where operator expected at /var/www/ line 20, n +ear "]stash" (Missing operator before stash?) [Sun Aug 28 23:07:59 2011] [error] syntax error at /var/www/ l +ine 18, near "html>"\n syntax error at /var/www/ line 20, near "/]</title"\n BEGIN not safe after errors--compilation aborted at /var/www/ +line 24.\n

It seems that when I run it under mod_perl the filtering doesn't happen and it tries to run it without it and thus fails. The exact same file is fine as vanilla CGI but when you add the overhead of connecting the database everytime the performance is still pretty poor... 0.04 ~ average per request.