in reply to What is the best tool to embed perl in HTML?
I've been using HTML::Template for over a year now and absolutely could not do without it. I've looked at other solutions like EmbPerl and they are fine but HTML::Template takes a different approach. Rather than embedding perl into the HTML documement, it separates the HTML development from Perl development by adding some specialized tags to HTML to allow for simple IFs Variables and Loops.
A few Benefits that I've noticed:- Its easy enough on the HTML side for the clueless web designers to understand but can be used to build complex apps.
- It allows you to quickly change HTML documents without messing with any Perl code
- Fast. Even allows for caching of documents when using mod_perl.
Hope that helps
|
---|
In Section
Seekers of Perl Wisdom