help ! write and read to file
Posted on 1998-12-01
let say I have 'enter.html' and 'view.html'.
In enter.html, there is a textfield for name and two button for submit and clear. User should enter his or her name in that textfield, the press submit. Then his or her name will be stored in the text file called 'name.txt'
In view.html, user can see how many name already in the name.txt and print those name out on the screen one by one.
I would like to use perl to write this program but I don't have any clues and I am new to perl , so I am asking experts, please give me a complete code and explanation of the code. Thank you !