Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: When to use templates?by zejames (Hermit) |
on Nov 19, 2004 at 17:12 UTC ( [id://409064]=note: print w/replies, xml ) | Need Help?? |
I said complex statement, meaning statement not only based on boolean variable passed par the perl script. In HTML::Template for example, you cannot test in the template if $var > 5, you have to do it the script ($bool = $var > 5;) and then use the result the a TMPL_IF. I do not like it very much. However, I do respect Your Way To Code It ;) That's a matter of choice. -- zejames
In Section
Seekers of Perl Wisdom
|
|