Hi Stuart - > It is a hashref. I just trimmed it down to the minimum that causes the > error. To be more clear: > > [% x = { constants.foo => "value" } %] > > Or: > > [% function({ constants.foo => "value" }) %]
Maybe want something like: [% foo = constants.foo; x = { $foo => "value" }; %] ? (untested) HTH, Larry _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates