Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Answer: What is the best tool to embed perl in HTML?

by cfreak (Chaplain)
on Aug 15, 2001 at 18:09 UTC ( #105049=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > What is the best tool to embed perl in HTML? - Answer contributed by cfreak

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

  • Comment on Answer: What is the best tool to embed perl in HTML?
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-09-19 12:21 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (114 votes). Check out past polls.