http://www.perlmonks.org?node_id=1006658

doo_the_dew has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to build a website using perl. I have found that my I cut and past the first part of my perl generated html on every page of my website. Is there a way to put all of that stuff (starting html tag, head and title tags, etc.. in a file and then say include this file at the start of every page. (same with footer info close html tag copyright info, etc...) Also, if you have a code example of somebody who did this correctly using perl, that would be nice. Thanks