Try using HTTP::Request and LWP::UserAgent to post forms. This recent posting has some code that may help.
| [reply] |
not sure what are you talking about here... where would the information about every user submit to?? and after that, what is done with it?? so since you are already going to write the .txt file, why fill in forms and submit?
I suggest, if you know how to handle files (open/read/write), that you construct a - would rather call it engine - that reads from the .txt file and do whatever with the information read, generating .html files in a specific folder maybe...
another way to do this, is keep the information in the .txt file, entering each member's information on a single line, seperated by a specific character (eg: ?) then when you want to access a specific user, you can read the specific line from the .txt file, split it into diffrent variables and paste it in place in the generated .html document.
most of this is pretty basic stuff, so I think that it will be easy to do.. the hard task will be filling that .txt file.
Chady | http://chady.net/ | [reply] |
There's another way you could do this, might be simpler for you, I don't know. You could create some javascript on html using perl. I know it's noone's favorite, but it works. Just take all of the form fields and create lines like this in the HTML
<input type='hidden' name='value1' value='$userfile{file1}'>
Then in the body tag add:
onLoad='document.formname.submit()'
You'd then need to view each of the pages in a browser, and wait for it to submit. Hope this helps.- p u n k k i d
"Reality is merely an illusion,
albeit a very persistent one."
-Albert Einstein | [reply] [d/l] [select] |