in reply to Problem in data flow between a perl and a js file

I believe the error you are getting "Premature end of script headers" is a HTML error and I don't see in you code where
print end_html; is, ie (</body></html>).

Hope that helps

Replies are listed 'Best First'.
Re^2: Problem in data flow between a perl and a js file
by olus (Curate) on Dec 28, 2007 at 12:26 UTC
    It's an HTTP error, not HTML.
Re^2: Problem in data flow between a perl and a js file
by Anonymous Monk on Dec 28, 2007 at 20:51 UTC

    what made you think that he needed </html>? http is a communication protocol not a hyper text definition.

    it is more important for you to keep learning, instead of spitting wrong answers online and pissing off people.