The file created has a refresh statement from every 5 seconds - 5 minutes depending on the author's selection.
Several users (typ. 10 or so) browse this page and can watch the updates in near realtime.
This script works well on my AppleShare 6.3X server under MacPerl. I have made the necessary conversions for it to operate under OSX.
When the form data is sent to my perl script it adds the HTML code and saves it to my servers hard drive as a web page.
The perl script also, after the file has been written, reads the same file back in under different variables and a different file handler and displays the resulting data to the author.
Which is what I saved on the hard drive. GREAT, a verification that it worked.
The problem is, "Sometimes" my perl script says the file has been written, but it has not.
The users don't see the update and in this case I can view the file in BBEdit and see the file was not updated.
I was very careful to use different variables, file handlers, and cleared all variables before I read the file back in.
I do not understand how the perl script can read it in yet the file is truly not there.
The open statement I use should indicate a problem in my server log if there are issues.
When this problem occurs I don't see any errors.
The open statement I am using.
$Address4 = "<../../../../Documents/ge/ClientD.html";
open (fooFILE, $Address4) or die "Line 96 " . (localtime) ." ". $! . "\n\n\n";
Any thoughts??
Albert