Hi Ben,

On 08/06/11 06:29, Ben Bullock wrote:
> If I start Template with
>
> my $tt = Template->new (STRICT => 1);
>
> then in the template I have something like this:
>
>
> [%- IF function.bugs %]
>
> =head3 [% trans.bugs %]
>
> [%- function.bugs %]
>
> [%- END %]

Perhaps try [% IF function.exists('bugs') %] or [% IF
function.defined('bugs') %] instead. They're covered in the VMethods
documentation page.

cheers,

Tom


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to