Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Premature end of script

by arturo (Vicar)
on Aug 12, 2002 at 18:29 UTC ( #189573=note: print w/replies, xml ) Need Help??


in reply to Premature end of script

When you say "works fine when I run it on the command line", does it output a proper header? Do you have print CGI::header(); or print "Content-type:text/html\n\n";, or some variant thereof in your script?

Other possibilities are that the webserver does not have both read and execute permissions on the file, or that your script depends crucially on some environment variable's being set a certain way in order to run.

Post your code, so we can get a better handle on your situation.

I mistrust all systematizers and avoid them. The will to a system shows a lack of integrity -- F. Nietzsche

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://189573]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2023-05-28 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?