Welcome to the Monastery | |
PerlMonks |
Re: OUTPUT: inline or template_based?by George_Sherston (Vicar) |
on May 28, 2002 at 10:41 UTC ( [id://169731]=note: print w/replies, xml ) | Need Help?? |
There are several advantages to templates (HTML::Template is my fave, and a popular choice), among which on emight include:
In this case (as in so many others) CGI.pm is often the way to go, as its built in functions make on-the-fly html generation in the code a good deal quicker and more readably integrated with the rest of the code. Your example wd become: + n.b. that the more complex the html you are outputting, the more time and space the CGI functions become. When dumping large quantities of info into html tables, I felt the need of something like this, which you may also find useful. § George Sherston
In Section
Meditations
|
|