in reply to Re: Potential for a New Module?
in thread Potential for a New Module?

Not all of us need, or want, dynamic sites.

That said, using a templating system is a really good idea. I'd like to see a system that chunks the input data into separate pages, then calls a callback function on each to HTML-ify them. This callback could use HTML::Template, Template Toolkit, XSLT, HTML::FromText, or anything else you care about. (This also has the advantage of working with things other than HTML. If I want to drop in a callback that generates LaTeX sections for a book, I can do so quite easily.)

Of course, the more general the module gets, the closer it gets to a simple for loop:

for my $page (@pages) { &process_page($page); }

...which isn't precisely CPAN material. :-)

--
F o x t r o t U n i f o r m
Found a typo in this node? /msg me