in reply to HTML::Template question
If you are just too lazy to type in all those <tmpl_var name="xxx"> that you need (it can be tedious given a large table), you could probably write a script to generate that section of the template. Given a list of field names which can be typed in or retrieved from your database, it should only take a few lines of code to generate the necessary template information.
If, on the other hand, you don't know beforehand what tables you will be accessing or what columns they will contain, then you're out of luck. You'll have to generate the HTML dynamically, probably with CGI.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|