If you're currently printing the HTML directly from the Perl file, you might want to think about using
HTML::Template. There are some pretty good tutorials in these nodes:
Using HTML::Template &
HTML::Template Tutorial.
HTML::Template offers the ability to split the HTML and your Perl code into separate files. If you're currently serving up multiple pages from a single Perl file, it's probably cluttered with HTML. You could remove each of these pages into template files and then, if someone without the knowledge of Perl comes along but they'd like to edit the HTML, they can do so without having to worry about the Perl.
If you keep the HTML within the Perl file, you'll need someone with knowledge of Perl to make any changes with the page. Since it sounds like you're the only one that knows Perl, that person would be you. Why give yourself the extra work? using HTML::Template will give others the ability to do those changes.
Hopefully, this will help you out.
- Sherlock
Skepticism is the source of knowledge as much as knowledge is the source of skepticism.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.