in reply to HTML::Template and filehandle ?

As far as I can tell there isn't an HTML method/tag to include external text files like this.

Server side includes, perhaps?

You are creating a HTML::Template variable called FILE. And that contains the contents of the Perl variable $ioref. And that contains a filehandle. So you shouldn't really be surprised if you get the filehandle printed out instead of the contents of the file. If you want the contents of the file, then you'll need to read the file.

$template->param(FILE => do { local $/; <FH> });

See the Copyright notice on my home node.

Perl training courses