http://qs321.pair.com?node_id=378261


in reply to Premature End of Script Headers

What about a really simple CGI program? Does that work?

#!/usr/bin/perl use strict; use warnings; use CGI qw/:standard/; print header, start_html('Does CGI Work?'), h1('Does CGI Work?'), "<a href='http://www.perl.org/troubleshooting_CGI.html'>", "Have you checked the CGI troubleshooting guide?</a>", end_html, "\n"; __END__