Tony Bowden:
>       [% USE CGI %]
>       [% CGI.{"div"}("Foo") %]
> 
> still gives me:
> 
>       file error - parse error - input file handle line 3: unexpected token ({) 

Please don't hurt me too hard:

[% MACRO cgi_div(x,y) BLOCK; SET div_ = "div"; CGI.$div_(x,y); END %]
[% cgi_div({class => "foo"}, "bar") %]

-- 
linux-2.3.99-pre9.tar: limbo program
    - plan9 has a bad day

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to