|
Hmmm (reading the manual), maybe this would work.
[% IF x.$y %]
[% IF x.$y == 'foo' %]
----- Original Message -----
From: John Smith
Sent: Wednesday, July 20, 2005 7:33 AM
Subject: Re: [Templates] checking for defined and exists in a
template Maybe I should restate. What is the perl template toolkit directive
equivalent of:
if (defined $x->{y})
-- or --
if (exists $x->{y})
Start your day with Yahoo! - make it your home page |
- [Templates] checking for defined and exist... John Smith
- Re: [Templates] checking for defined ... Jonathan Mangin
- Re: [Templates] checking for defi... John Smith
- Re: [Templates] checking for ... Brett Sanger
- Re: [Templates] checking for ... Jonathan Mangin
- Re: [Templates] checking for ... Jonathan Mangin
- RE: [Templates] checking for defined ... Garrett, Philip (MAN-Corporate)
