i have a question about an error

They have: 2 posts

Joined: Feb 2000

what does "premature end of script headers" mean?????

They have: 122 posts

Joined: Jun 2000

Usually it means that you haven't gotten the script headers right. for a web cgi script, printing Content-type: text/html\n\n is necessary, but if you don't, premature end of script headers is usually what you get as an error message.

Rob Radez
OSInvestor.com

They have: 568 posts

Joined: Nov 1999

It can mean any number of things if your running the script in your web browser. I mke it a habbit to put use CGI::Carp qw(fatalsToBrowser); at the top of my script so it will catch the errors.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.