Re: Passing variable to included template?

"Bas A. Schulte" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
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.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.