Re: [htmltmpl] Passing variable to included template?
Brought to you by:
samtregar
From: Roger B. W. <ro...@fi...> - 2006-07-20 21:37:22
|
On Thu, Jul 20, 2006 at 11:26:28PM +0200, Bas A. Schulte wrote: >H::T::Set is doing what I want just fine; I dropped it in my existing >code, did a s/HTML::Template/HTML::Template::Set/g et voila. That was a primary consideration when I wrote it. (Assuming you're using mine and not the other module of the same name.) >I don't quite get the philosophical issues that were also mentioned >in that thread in my usage scenario; I'm quite keen on separating >business logic from presentation but I feel what I wanted *is* a >presentation issue: I wouldn't want the code to have to know about >mediocre thing such as a "nice" name for a page. I'm with Dmitri on this - it's a small annoyance in an otherwise very useful module. For me, H::T hits just the right spot between requiring the web dev to be a programmer (the way Template::Toolkit seems to) and a basic regexp search/replace. Roger |