Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Can't Seem To DIE

by stephen (Priest)
on May 18, 2001 at 06:54 UTC ( [id://81421]=note: print w/replies, xml ) Need Help??


in reply to Can't Seem To DIE

You're getting the "Server Error" because you're not printing out headers in your 'diedebug' statement. A quick fix would be to:
  • Change your require 'cgi.pm' to a use CGI qw(:standard :cgi-lib)
  • Add a print header() to the top of your diedebug routine.

I'd also look at CGI::Carp.

stephen

Replies are listed 'Best First'.
Re: Re: Can't Seem To DIE
by koacamper (Acolyte) on May 19, 2001 at 05:50 UTC
    Stephen, Thanks for the tip! I added:
    print "Content-type: text/html\n\n";
    and my problems were gone. Thanks again

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-18 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found