Simply use $myHTML = $template->output();
In reply to Re: HTML::Template output to scalar or array by GrandFather in thread HTML::Template output to scalar or array by jonnyfolk