in reply to HTML::Template Question / Confusion

There is no reason to have a one-to-one relationship between templates and pages. I use different templates for each section of my pages. Use one for your standard header and footer and one for each main body portion. If your body can be broken down into multiple logical units, represent each in a separate template. (But I think this is heading in the other direction - this will create more templates, not fewer)

The real advantage to HTML::Template is separation of form and function. Your code resides in your perl and is edited by a programmer. Your presentation resides in your template and is edited by a web designer.

It's also easier to edit HTML in a template than editing CGI generated HTML. If you just want that amount of separation, you should be able to embed your HTML in your perl by placing it after the __DATA__ marker.

--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';