M wrote: > [% FOREACH customer IN DBI.query('SELECT * FROM customers ORDER BY [% baz > %]') %]
Try [% query = 'SELECT * FROM customers ORDER BY ' _ baz %] [% FOREACH customer IN DBI.query( query ) %] S. _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates