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