in reply to Best tools for simple WebUI
It sounds like you could benefit from a template module such as Template or HTML::Template. There are also many more on CPAN if you just search for them.
Frying pan on the stove
Results (331 votes). Check out past polls.