Re: [htmltmpl] Passing variable to included template?
Brought to you by:
samtregar
From: Bas A. S. <B.S...@ya...> - 2006-07-20 21:26:41
|
On Jul 20, 2006, at 21:37 , Dmitri Tikhonov wrote: > This has already been discussed, most recently here: > > http://sourceforge.net/mailarchive/forum.php? > thread_id=10395329&forum_id=9830 Ok, thanks. I would probably have found that had the search function worked ;) 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. 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. Cheers, Bas. |