HTML::Macro is a macro preprocessor designed for generating web pages from
HTML templates augmented with a simple tagset (,,,).
HTML::Macro supports variable (macro) substitution, conditional evaluation
(using perl expressions), file interpolation (like SSI), and looping for
repeated format blocks with varying data (like rows in a table). It is
especially convenient for filling out data-driven web pages using DBI. Its
use is not restricted to HTML; we have also used it for generating email
and other text files, but the tagging syntax is derived from HTML/XML.
Installation is totally vanilla; just unpack the distribution,
> tar xvfz HTML-Macro-1.14.tgz
> cd HTML-Macro-1.14
> perl Makefile.PL
> make install (prob. as root)
For more info, please see the written documentation:
> perldoc HTML::Macro
> perldoc HTML::Macro::Loop
There is also a web page about HTML::Macro maintained at
http:://www.ifactory.com/htmlmacro.
Copyright (c) 2001,2002 Michael Sokolov and Interactive Factory. Some rights
reserved. This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.