I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-03-20 20:22:39-07 by jhill03
embedded if
I'm new to the Template-Toolkit and have a question regarding how to embed an IF condition... I have:
[% cgi.popup_menu( name => 'my_name', values => my_values, labels => my_labels, [% IF data.disabled == '1' %] disabled => data.disabled [% END %] %]
but I'm getting the following error:
unexpected token (%)
So, is it possible to embed an IF clause in this manner, or is it not possible? Thanks, Jayson
Direct Responses: Write a response