[ic] Form Handling with Perl

Steffen Dettmer interchange-users@lists.akopia.com
Mon Jun 25 04:26:27 2001


* Ron Phipps wrote on Sun, Jun 24, 2001 at 14:20 -0700:
> Does anyone have code examples of looping over the controls on a form,
> checking for values, etc in perl?  I'm building a custom case order form for
> a client and I need to loop over the form I have generated from the database
> (the code cannot assume a fixed number of controls...).  Any examples of
> doing something like this would be appreciated, thanks!

Well, I have a (commercial) tool for putting CGI Formdata into
an ODBC (or some DBI :)) database. Since it was developed for
sending mail first it called VarioMail
(http://variomail.bedinetz.de) I have some functions for checking
for values which are extracted from form fields defined by
regular expressions. Well, there's a bug: german documentation
only. But the code itself uses english specifier which should
make it readble. It's OpenSource and in Perl, you may find some
useful ideas when trying that. Since it's OT here contact me via
PM.

oki,

Steffen

-- 
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.