entropyal has asked for the wisdom of the Perl Monks concerning the following question:
I am fairly new to perl and really like it. I have been able to use it to write scripts to handle data coming back from a single web page.
I am at the edge of my knowledge with a new project. I have multiple data form pages (e. g., Form1.html, Form2.html,.....) that I want to present randomly. I also want to get data from each of these forms, too. An initial form page collects some background info and then the task is to randomly choose and present six forms and to get their data. I have been able to set up the randomization process and to get the pages to serve.....
Everything *seems* works until the first random form. From what I can tell, once that first form is submitted, the script starts anew (i. e., a new process or a new thread). I initially thought/"hoped" that each time the same client called the script in working through the six random pages, the script would take up where it last left off (i. e., serving a page and storing the form data). This is not happening, though
I've done some reading about shared variables and about threads, but I am not sure that this is what I need. Could anyone give me a nudge or point me in the direction I need to go? Thank you...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: One script, multiple html forms?
by davido (Cardinal) on Apr 03, 2013 at 22:32 UTC | |
Re: One script, multiple html forms?
by TJPride (Pilgrim) on Apr 04, 2013 at 12:23 UTC |
Back to
Seekers of Perl Wisdom