From: "Adamiec, Larry" <[EMAIL PROTECTED]> > This link may be of help to some people. > > http://www.samag.com/documents/s=9408/ur0411l/
Opinions differ. I think including these "HTML generation" functions in CGI.pm was a bad design decision (a module should do only one thing) and that they are hard to read and maintain. If you have the HTML outside the script or at least inside the script, but in big chunks even people who have no idea about Perl can tweak the HTML and they do have a chance to make it right. Plus you can let a designer create the page for you and then just turn the static HTML into a template. Whether the template is outside or inside the script file is not that relevant then. Jenda P.S.: I wonder how experienced a Perl programmer Mr. Dyer is. -value=>"$user" ? Why the quotes dude? If you are lucky they just slow things down, if not they'll break your script. ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>