Lathan Bidwell wrote:
> Is this related to TT's strict?
I don't know, but I need to locate my problem to find out!
___
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates
Hmm,
I've found a way to make that error go away.
The keyword-index index included another template called shared.tt and
it had a line that said:
IF help.id ;
If I comment out that line and relevant code around it, the error goes
away. But if I substitute
IF help.id.defined ;
I still get the
That's because the syntax for defined is more like:
IF help.defined('id');
See the full docs:
http://template-toolkit.org/docs/manual/VMethods.html#section_defined_exists
Lathan
Hmm,
>
> I've found a way to make that error go away.
>
> The keyword-index index included another template called