Paul Makepeace wrote: > In the template, I am trying [% FOREACH item = sth().execute %] ... [% > END %] Instead of doing that, why don't you just copy the data you want into a structure to pass to the template? Then you can do proper error handling in your perl code, and use optimizations like bind_columns. - Perrin