Thx. Mark,

do you think i can use HTML::FormHandler for handling forms/validating data 
etc. and HTML::template for displaying results?

and will this be suffice for a small project? currently i am not using any 
database to store my data files, (i think formhandler needs database backend). 
in that case i will use your suggestion of cgi::simple.

rgds,
Rajev



________________________________
From: Mark F <azful...@gmail.com>
To: "html-template-users@lists.sourceforge.net" 
<html-template-users@lists.sourceforge.net>
Sent: Sunday, July 3, 2011 5:24 PM
Subject: Re: [htmltmpl] does this replace CGI module?

On Sun, Jul 3, 2011 at 2:52 PM, Rajeev Prasad <rp.ne...@yahoo.com> wrote:
> I am new to perl CGI, with so many options, i am confused. does modules like
> tt, html::template, mason etc. replace CGI module in perl CGI scripting? Can
> someone guide please? is CGI module the only one which can parse the values
> coming from FORM input fields?

H::T replaces some of the CGI module. The part which emits HTML.
That's the benefit of templating. It isolates the HTML for easier
maintenance. The CGI module would still be used to obtain post
variables, etc.

I use CGI::Simple because it doesn't have all the HTML fluff which the
CGI module has. I've read it's more efficient due to its smaller size.
But, for me it's just principle. I never liked CGI's conflation of CGI
and HTML behavior.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to