Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How come my PCP runs fine but doesn manage to write its output files?

files Fine manage output pcp write
0
Posted

How come my PCP runs fine but doesn manage to write its output files?

0

Again, this has to do with permissions! The server cannot write to a file in a certain directory if it does not have permissions to do so. You should make it a point to check for error status from the open command: print “Content-type: text/plain\n\n”; . . . open (FILE, “>” . “/some/dir/some.file”) || print “Cannot write to the data file!”; . . .

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123