Quote:
how do you make it write to a certain area of the file like a form field?
I don't think you can do that with perl, at least, not directly. What you would need to do is read in the file and write it back out to another file, up to the point where you want to add the new data. Then, write out the new data and, finally, read in the rest of the file and write it out to the other file. Then, when the files are closed, delete the original and rename the other file to what the original was.
Anyway, that is how I would do it but, like I said, there may be another way.