my $t = HTML::Template->new( "foo.html" ); my $i = HTML::Template->new( "inner.html" ); $t->param( INNER => $i->output( ) );