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

Re: newbie alert

by buckaduck (Chaplain)
on Jun 18, 2001 at 23:32 UTC ( #89412=note: print w/ replies, xml ) Need Help??

in reply to CGI Configuration Woes (was: newbie alert)

Guess #1: The program is not world-executable. Use chmod to set the permissions to 755, for example.

Guess #2: Your program dies (perhaps while opening the file?) but you can't see the error, because it's being written to your web server's error log. If you use the following module, runtime errors will also be shown to the browser:

use CGI::Carp qw(fatalsToBrowser);

Update: Belated Guess #3: The program may have a typo and not compile at all. What happens when you run it from the command line rather than through the browser?

Update: I should point out that the question was originally asked in this node, where there are a number of replies that address some general coding improvements.


Comment on Re: newbie alert
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-11-30 03:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (757 votes), past polls