in reply to generarting dynamic html using perl
If Form A calls Form B calls Form C, then have the form handler for Form A do its processing and then generate Form B before it exits. Similarly, the form handler for Form B should do its processing and then generate Form C before it exits.
I would not combine the form handlers for two dissimilar pages in the same script.
However, if two pages are similar then I call them both using the same form handler. I use CGI.pm's referer() (sic, only three r's in the CGI.pm spelling) function to see which page called the form, and then have the form modify its processing accordingly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: generarting dynamic html using perl
by new_2_perl (Acolyte) on Jun 14, 2001 at 21:29 UTC |