Kitsune, there are many ways how to do it. For instance, if pages are completely static, I do not use Perl but I design some layout.xml and page1.xml, ..., pagelast.xml and build final html pages using XSLT machine, then I publish that static html pages. Or, if pages are dynamic, you can use mod_perl handler or CGI to launch your Perl code when somebody requests your page. Once your code is launched, you can compute dynamic values and use some template system for htmlization. HTML::Template is good choice, Petal is another.
in reply to How to design website structure?