> Hi List, > > Is it possible to use CGI.pm in conjunction with a templating system? > > For example, I'd like to send the header from CGI.pm, but use a > templating system for the bulk of the page. And which templating system > do users here recommend. I've heard of Template::Toolkit and > HTML::Template, but I haven't used either. > > Thanks for the help... >
Yes the CGI.pm can be used with a template system, though you are not likely to use some/most of the HTML building features. Personally I have a home grown system that works well, but you are right to evaluate the above suggestions before going down my route. In my case I use CGI.pm for parameter parsing, cookie handling, etc. but avoid the HTML/response related pieces. Yours is a very subjective question, in your shoes I would create a small site/application using both and decide which interface makes the most sense for your development style, your users, etc. Sorry I can't provide more concrete advice but I have used neither to any real extent, others on the list I am sure will chime in... Good luck, http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>