DelphiFAQ Home Search:
General :: Programming :: perl
General questions about perl.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Recommended links on this topic:
Featured Article

Embedding perl into HTML files like JSP or php

Question:

Is there a way to embed Perl programs in HTML the way PHP can do?

Answer:

  • HTML::Template
    Simple, does a good job of separating the content templates from the application logic; not as flexible as some others
  • HTML::Mason
    Puts the Perl right in with the HTML, like PHP does. This makes it very popular with some people, but is seen by others as defeating the purpose of using templates to begin with -- the idea being that you should always keep logic & presentation strictly separated.
  • Template::Toolkit
    Probably the most flexible framework, TT can be tuned to work in modes similar to both HTML::Template and Mason, and more. It's also suitable for non HTML/WWW work -- generation of about any kind of document, from ascii to LaTeX to PDF to Word & Excel, either dynamically on demand or statically in batches. TT is nice...
  • Embperl
    This one I don't know much about, but some people like it.


Generated 4:02:04 on Mar 26, 2017