I've been reading this conversation and trying to think of a way to explain the templates concept. Like pugdog, they just made sense to me from the start, which makes it hard to explain.
It might help to consider templates as standard HTML, but with SSI tags (in this case, <%tag%>) inserted to include things like counters and banner rotators. The advantage to templates over working within the Perl script is that you don't have to worry about things like matching up brakcets in subroutines, escaping quotes, etc. Just code it like you would HTML and you can pretty much see your layout as you work.
Hope that helps ('cause you've certainly helped me a ton with DBMan! )
Dan
It might help to consider templates as standard HTML, but with SSI tags (in this case, <%tag%>) inserted to include things like counters and banner rotators. The advantage to templates over working within the Perl script is that you don't have to worry about things like matching up brakcets in subroutines, escaping quotes, etc. Just code it like you would HTML and you can pretty much see your layout as you work.
Hope that helps ('cause you've certainly helped me a ton with DBMan! )
Dan