![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: CGI.pm form clearingby Ryszard (Priest) |
on Aug 12, 2002 at 13:25 UTC ( #189480=note: print w/replies, xml ) | Need Help?? |
Use a template of your form. Read in your html file, spit it out to the screen... Nice and easy.
You can do it quite easily and simply by reading the file in using standard IO techniques, or do something fancy using a templating system like HTML::Template. This also has the advantage of decoupling the html from your code... even better.
In Section
Seekers of Perl Wisdom
|
|