The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
... and in addition to Template::Toolkit and the other fine and dandy modules out there ... you might consider the fine and dandy language known as "perl" (aka "Perl", aka "PERL"). (Who woulda imagined it!) Straight out of the box, you can write perl code that "cleans up" all that code you have inherited, and encourages all that great stylesheet conformity, and all that great MVC separation, and whips up a hot batch of any other buzzword-soup-of-the-day you may want to serve up. Here is an example that is all plain perl code (with one added subroutine) that keeps our HTML template looking more like HTML than like perl (instead of the other way around).
which gives us something akin to ...
A ||
B ||
C ||
D ||
E ||
F ||
G ||
H ||
I ||
J ||
K ||
L ||
M ||
N ||
O ||
P ||
Q ||
R ||
S ||
T ||
U ||
V ||
W ||
X ||
Y ||
Z ||
AafricaafoneaftwoafthreeasiaasoneastwoBbelgiumbeonebrazilbroneIn reply to Re: Building html site maps
by dimar
|
|