I am trying to use the Format plugin and having a small problem with
passing in arguments. I am using it something like this:

[% USE foo = format("a %s b %s c") %]

This works fine:

[% foo(1,2) %]

a 1 b 2 c

but this obviously does not:

[% SET bar = [1,2] %]
[% foo(bar) %]

a ARRAY(0x832df94) b  c

Is there a way I can work around this?

Thanks in advance,

Stephen Quinney

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

Reply via email to