Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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.

buckaduck


Comment on Re: newbie alert
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2014-12-18 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (66 votes), past polls