Hello to all,

I'm using HTML::Template::Expr and found the following problem:
If "foo" is an array reference 

        <TMPL_IF NAME="foo">
        ...
        </TMPL_IF>

generates an error:

        HTML::Template::param() : attempt to set parameter 'foo' with an
array ref

This works:

        <TMPL_LOOP NAME="foo"></TMPL_LOOP><TMPL_IF NAME="foo">
        ...
        </TMPL_IF>

I think a syntax like 

        <TMPL_IF LOOP="foo">
        ...
        </TMPL_IF>

could be of interest.

Best regards
Michael Gerke



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to