in reply to Perl FCGI Error: mod_fcgid: error reading data from FastCGI server

The code posted below is just me trying to get something to work, it is giving an internal server error.

That's because it doesn't compile:

$ perl -cw Status: 500 Content-type: text/html <h1>Software error:</h1> <pre>syntax error at line 16, near &quot;'&lt;h1&gt;Woohoo +oo!&lt;/h1&gt;':&quot; had compilation errors. </pre> <p> For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error. </p> [Tue Jan 28 12:12:01 2020] syntax error at li +ne 16, near "'<h1>Woohoooo!</h1>':" [Tue Jan 28 12:12:01 2020] had compilation er +rors.

If you fix your punctuation you might have better luck.