in reply to Serving up static content with perl?
A templating system helps seperate content from code. Look at Template Toolkit and HTML::Template.
After Compline,Zaxo