good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. In reply to Re: The best way to deliver content
by Sherlock
|
|