|Think about Loose Coupling|
A noobish question about formsby dr_jkl (Acolyte)
|on Jan 30, 2012 at 10:34 UTC||Need Help??|
dr_jkl has asked for the
wisdom of the Perl Monks concerning the following question:
O Monks, A newbie question:
I have an html5 web form which I want to be able to submit to a perl script and then have a second form displayed that displays results, and provides more options to the user; depending on which button they press, the information is relayed back to my program (same script but different subroutine, is how that would work, I guess?), the data is handled in the backend, and then the process starts over.
if you need a diagram,
form_1 -input-> script -> output -> form_2 -> input -> script -> done, repeat at form_1
as far as CGI goes, to format output data, I am aware of HTML::Template, but I'm not sure it's the right tool for the job. Is it?