Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: CGI Server Error

by monkeygirl (Pilgrim)
on Jul 03, 2001 at 23:48 UTC ( [id://93654]=note: print w/replies, xml ) Need Help??


in reply to CGI Server Error

If this is a CGI script, you really need to print a header:

print "Content-type: text/html\n\n";

You can also do this with CGI.pm:

use CGI; my $use_me_im_better = new CGI; print $use_me_im_better->header;

And while you're in there, you should also do

use CGI::Carp qw(fatalsToBrowser);

This will print the error messages on the screen.


Sarah
If Bill Gates can name a company after his "bedroom" problems, I can have a stupid sig that points it out

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-26 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found