I'm jamming on PERL code and have run up against this roadblock.
In generating an on-the-fly HTML page this HTML statement
<input type="hidden" value="Purchase Information Only" name="Subject">
and others like it cause the error "CGI Error - The specified CGI application misbehaved by not returning a complete set of HTTP headers". It's all been narrowed down to how these statements are used in on-the-fly coding.
These particular fields are used to set up an email message further downstream.
The HTML test page, untouched, by itself, using these statements works fine with no errors. When reengineered using PERL with the code block in the same location, the error occurs.
Any assistance to get this to work is appreciated.
The following two samples provide the error:
1: print <<"LRT";
<input type="hidden" value="
xsupport@atrix.com" name="recipient">
<input type="hidden" value="Purchase Information Only" name="Subject">
<input type="hidden" value="REMOTE_HOST, REMOTE_ADDR, REMOTE_USER, HTTP_USER_AGENT" name="env_report">
<input type="hidden" value="1" name="print_blank_fields">
LRT
2: $LRT = qq{
<input type="hidden" value="
xsupport@atrix.com" name="recipient">
<input type="hidden" value="Purchase Information Only" name="Subject">
<input type="hidden" value="REMOTE_HOST, REMOTE_ADDR, REMOTE_USER, HTTP_USER_AGENT" name="env_report">
<input type="hidden" value="1" name="print_blank_fields">
};
print $LRT;