i'm trying to write a log file and i can't seem to open it to write to. the file does
exist. here is the code for opening the file:
if(! open(LOG, ">xxx.txt)) {
print "Content-type: text/html\n\n";
print "Can't open xxx.txt\n";
exit;
}
print LOG "At $date, $ENV{'REMOTE_HOST'} etc., etc.
any comments/suggestions would be most helpful.
thanks, nichole
- Re: writing to a text file Nichole Bialczyk
- Re: writing to a text file Michael Fowler
- writing to a text file --> permission... Nichole Bialczyk
- Re: writing to a text file Hasanuddin Tamir
- Re: writing to a text file Stephen P. Potter
- Re: writing to a text file ... sorry Nichole Bialczyk
- Re: writing to a text file ... sorry Brett W. McCoy
- Re: writing to a text file ... sorry Paul
- Re: writing to a text file ... sorry Stephen P. Potter
- Re: writing to a text file Craig Moynes/Markham/IBM
