Maybe I should restate. What is the perl template toolkit directive
equivalent of:
[% IF x %]
or
[% IF x == 'foo' %]
Combining constructs would be redundant.
----- Original Message -----
Sent: Tuesday, July 19, 2005 4:02 PM
Subject: [Templates] checking for defined and exists in a
template
Suppose I want to do an include only if something is defined,
how do I do it?
[% IF x.defined and x eq "foo" %]
[% INCLUDE myfile %]
[% END %]
something like that? can't seem to locate it in the
man pages.
Thanks.
Start
your day with Yahoo! - make it your home page