Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: write to local files? and why does strict bugger this online but not locally?

by ghost (Beadle)
on Sep 13, 2001 at 04:16 UTC ( [id://112072]=note: print w/replies, xml ) Need Help??


in reply to write to local files? and why does strict bugger this online but not locally?

It sounds like the user for your CGI (nobody on Unix, IUSER_GUEST on NT, usually) doesn't have access to write to the directory. Also, you probably want to use a chdir or specify a directory for the file.

One of your "die" messages probably caused the 500 error. Include use CGI::Carp qw(fatalsToBrowser); or add some code to print a header to see your "die" messages in CGI.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-16 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found