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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl and HTML
by davido (Cardinal) on Dec 02, 2012 at 02:28 UTC | |
|
Re: Perl and HTML
by 2teez (Vicar) on Dec 02, 2012 at 02:36 UTC | |
|
Re: Perl and HTML
by marquezc329 (Scribe) on Dec 02, 2012 at 05:39 UTC | |
|
Re: Perl and HTML
by monsoon (Pilgrim) on Dec 02, 2012 at 06:31 UTC | |
by Anonymous Monk on Dec 02, 2012 at 20:57 UTC | |
|
Re: Perl and HTML
by space_monk (Chaplain) on Dec 02, 2012 at 08:54 UTC | |
|
Re: Perl and HTML
by golux (Chaplain) on Dec 02, 2012 at 23:47 UTC |