Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
mod_perl questionby PyrexKidd (Monk) |
on Apr 11, 2011 at 21:31 UTC ( [id://898787]=perlquestion: print w/replies, xml ) | Need Help?? |
PyrexKidd has asked for the wisdom of the Perl Monks concerning the following question: Hello all, I am attempting to convert a program from a CGI application to a mod_perl application. To my understanding mod_perl will run CGI scripts however, running CGI only experience minor increase in performance. My question is this: how do I write a multi-screen mod_perl program? I haven't found a direct solution for the multi-screen mod_perl application; searching for a solution returns CGI solutions. Perhaps I am misunderstanding the use of handlers, essentially I don't want to have to create an entry in the httpd.conf file for every page on my website. this is how I do it in my CGI script:
Then in my HTML template I use a submit button to change the state of the page, i.e.:
perhaps I am misunderstanding the use of handlers, or the configuration of mod_perl. What I would like to avoid is an entry in httpd.conf for every page (and this is where I think I might be misunderstanding something.). I am under the impression that to create multiple pages I'll do the following:
If the above would be used for a website with multiple pages, but then how would I create a multi-screen application? Am I way off? I think I might be close but I'm not sure. Thanks for the help
Back to
Seekers of Perl Wisdom
|
|