One thing that I noticed is your shebang line. You have: #!usr/bin/perl I suspect you want: #!/usr/bin/perl -wT
Rob Good judgement comes from experience, and experience - well, that comes from poor judgement. On Thu, 14 Feb 2002, Andrew Hughes wrote: > Why do I keep getting a premature end of script headers error when I try to > run this script? I am going crazy! > > #!usr/bin/perl > #hmres1.pl > print "Content-type:text/html\n\n"; > > $test = 1000000; > > print "<html><head><title>Test</title></head>\n"; > print "<body>\n"; > print "$test\n"; > print "</body>\n"; > print "</html>\n"; > > Thanks, > Andrew > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]