Andrew Beattie wrote: > I pass the stuff to TT with > > $$vars{'columns'} = $columns; > $$vars{'body'} = \&get_body; Can you not call get_body() to populate the hash before calling TT? $vars = { columns => $columns, body => get_body(), }; A