in reply to very simple question...
(It may seem like a sledgehammer to crack a nut, using a big module like CGI.pm just to print out a little old header, but... it does get the nut cracked. I used to get really bored typing print "content-type:text/html\n\n";.)use CGI qw(:standard); print header;
... then it'll send you some more informative stuff, delivered straight to your browser (or View Source to see the warnings).use CGI::Carp qw(fatalsToBrowser warningsToBrowser); print header; warningsToBrowser(1);
|
|---|