Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Cannot save to file with a CGI scipt

by George_Sherston (Vicar)
on Sep 23, 2002 at 21:42 UTC ( #200236=note: print w/ replies, xml ) Need Help??


in reply to Cannot save to file with a CGI scipt

I think valdez is likely to be right - unless it's something even simpler, like the filepath you specified is wrong or incomplete. My only suggestion is that if you are looking in the error log for your error messages, then you could save yourself some trouble by putting

use CGI::Carp qw(fatalsToBrowser warningsToBrowser); print $cgi->header; warningsToBrowser(1);
near the top of your code during development - it'll chuck your fatal errors (and your warnings if you put  -w at the end of your shebang line) onto the browser where you can see 'em in real time.

George Sherston


Comment on Re: Cannot save to file with a CGI scipt
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2014-12-22 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (121 votes), past polls