http://qs321.pair.com?node_id=1191823

itztheMonk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I would like to know which way to start my perl project( Moderately big project including payment methods while other parts of the system build in perl ). We have the following solutions.
1. Use pure perl with html and logic in the same file
2. Paste the HTML as a perl function on a separate file and require each page when needed and call the the function with data param.
3. Use module Text::Template or Template Toolkit to separate logic and html. I haven't used any of these modules before. Please share any cons and pros for each module.

Since other part of the system is already build in CGI perl. My options is also limitted use CGI perl. But wish to use some kind of templating to separate code and HTML. My main goals include maintainability, reliability, fastness and community support. Thanks