There are many template systems in Perl, and the simple template design in Perl is not a difficult thing, I bloves and so on design the country's own Template.
If you want to use simple, I recommend us, my one supports the CGI file cache (advertise).
However, it is back, whether it is the technology of PERL's Template technology or the end of these P ended, it is not possible to compare with Mason.
For example, PHP is just simple to use Element?> Method to put the code inClude to HTML. This simple Include method is not obvious to the website logic results.
Like, the same thing like technology, so that the code is difficult to read.
Mason did a non-technical thing technology.
For example, tagging, PHP (I am the most familiar Perl outside the script, take him to compute) ?> That's it, Perl's Template basically realizes, the difference is not big.
Mason divides HTML into several parts, such as
<% overce>
% overce>
Said that the first is first read, for example, such a code
Html>
<% overce>
USE DBI;
% overce>
No matter what Once is there; of course, you can understand that you can understand that Mason's execution of the file is not a simple process, but is logical.
How does Mason run? Mason compiles your HTML Code to the code of the Apache MOD_PERL module to run, how can it be uncomfortable?
Of course, the above is a simple introduction of Mason technology. Welcome everyone to study.
Free resource www.masonbook.com www.masonhq.com