in reply to Re^2: Perl text file writing
in thread Perl text file writing
In general, tachyon's CGI Help Guide has been invaluable when I was figuring out CGI.print MYOUTFILE "Testing 1 2 3"; #write text, no newline print MYOUTFILE "\n"; #write newline print "Wrote to file \n"; #if this doesn't show in the browser, #the script didn't write to the file close(MYOUTFILE); print "Closed MYFILE \n"; #if this doesn't show in the browser, #the script didn't close the file print "</body> </html>\n";
|
|---|