
abockover
Deleted
Jan 26, 2001, 6:45 AM
Post #1 of 1
(415 views)
|
|
Printing to file in ePerl
|
Can't Post
|
|
A few days ago, I installed ePerl as an apache module. When I try to print to a file within an ePerl document, the file is created, but what I want to print to the file is printed to the document ePerl will print to the browser. For example: <html> <body> <? open(FILE,">test.txt"); print FILE "bla bla, it works."; close(FILE); !> <p>I have just printed bla bla it works to a file.</p> </body> </html> ------------------------------ Now, this is what would be printed to the browser: bla bla, it works. I have just printed bla bla it works to a file. The file was created, but "bla bla, it works" is not in the file. Does anyone know how to solve this? -Aaron
|