All I know of Mason is what I read in The Perl Jornal months and months ago, I really don't remember much of it. I believe Mason allowed you to add code right in the template (don't quote me on that), and HTML::Template only allows for a few common templating options (if/else, include, variables, loops).
HTML::Template is very easy to learn and use, Mason looks like it requires a little bit more to set it up and learn it. Rob -----Original Message----- From: Marty Landman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 1:10 PM To: Hanson, Robert; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: cgi in the middle of HTML page At 12:55 PM 2/5/02 -0500, Hanson, Robert wrote: >As far as using this method over HTML::Template >you need to be able to predict future expansion to your code (which may be >impossible), and as long as you won't need other features (or don't mind >rolling your own) then Marty's is as good as any (and possibly preferable in >certain situations). Rob, I have a confession to make. I first learned templates on a job where the lead developer had setup a package from a WebMonkey's tutorial. After that I rolled my own and have gotten so used to it that with small clients whom I explain the templating concept to there's been no reason to assume the overhead of learning something new. It's not like with cookies where I got so sick of trying to get the dates right myself that I finally cried "Uncle" and used CGI.pm. :P OTOH, can you plz brief me on the difference between Mason and Template and why you might use one over the other? Or are they related so that it's a dumb question even? tia, Marty SIMPL(tm) Content Management & WebSite Creation http://face2interface.com/Home/Demo.shtml Complementary Color Picker http://face2interface.com/WebSafe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]