"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
For generating HTML, I like a combination of HTML::Template and HTML::FromText, the latter of which I nearly have a nifty patch for. Real soon now, I promise! :-) In general, I detest writing HTML, and would prefer to have the computer do it for me. If I want a loosely formatted document, HTML::FromText does an excellent job; otherwise, latex2html is preferred. On the other hand, neither tool produces particularly pretty markup, and I don't mind because I'm one of those archaic elitists who prefer content over eye candy. If you want a pretty site, you're probably best off embedding generated HTML in a template. (I have an example at http://www.infernus.net/; a somewhat old version of the code is listed at Automating a Static Website.) For parsing HTML, use HTML::Parser; for intelligently parsing pseudo-HTML, have a look at Why I like functional programming. -- In reply to Re: How do you deal with HTML in Perl?
by FoxtrotUniform
|
|