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.
Fruit and Vegetables
Me, that's why I'm so cool
Logic (separated into Horror and Brilliance)
Results (261 votes). Check out past polls.