in reply to Re^2: HTML::Template output to scalar or array
in thread HTML::Template output to scalar or array

$template is an object. Unless it has an explicit stringification overload printing it is unlikely to do what you might hope for. Try my $str = $template->output (); print $str; instead.


Perl is Huffman encoded by design.