Preserved Topic: ActiveState Perl (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-23-2001 18:18
I have an html form with two form fields. I want to write the results to a .txt file (using an ActiveState Perl script) in a way that doesn't overwrite existing data but rather appends to existing data. Can anyone point me to a tutorial on doing so? |
Nervous Wreck (II) Inmate From: Goslow |
posted 04-24-2001 09:36
To open a file so that you can append new data to the end, put a less than symbol (' > ') infront of the file name to be opened |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 04-24-2001 21:07
Actually, if you use "> $filename" you will overwrite the existing file. |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-24-2001 21:28
if I have a select field and a text field in an html form, on submit what would I use in the PL script to write to the text file... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-24-2001 21:38 |
Nervous Wreck (II) Inmate From: Goslow |
posted 04-25-2001 07:13
Ha! Hahahaha good that you pointed that out hyperbola, I should stop waiting till ass at night to check the asylum for anything interesting. Okay, I promise I'll start taking my pills. |