On Sun, 21 Oct 2001, Ulrike Schmidt wrote:

>       $template->param(comment => 0);
> 
> might not even be neccessary, as long as comment stays undefined.

completeness... you know. :), also prevent accidental setting in case of 
associate => $cgi where $cgi->param('comment');

> >         s#<(/?)tmpl_comment>#"<$1tmpl_if".$1?"":" comment">#eg;
> 
> That one is nice as well, although I prefer not having to do any special
> filtering.

The idea was basically to show that this kind of code doesn't need to be 
in H::T.  As a filter, it could probably be put into a 
HTML::Template::Filter package, and called from there.

Philip

-- 
I am not now, nor have I ever been, a member of the demigodic party.
                -- Dennis Ritchie


Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/

  MSN  philiptellis                         Yahoo!  philiptellis
  AIM  philiptellis                         ICQ     129711328


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to