note
davorg
<blockquote><i>As far as I can tell there isn't an HTML method/tag to include external text files like this.</i></blockquote>
<p>[http://httpd.apache.org/docs/2.2/howto/ssi.html|Server side includes], perhaps?</p>
<p>You are creating a HTML::Template variable called FILE. And that contains the contents of the Perl variable <tt>$ioref</tt>. 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.</p>
<code>
$template->param(FILE => do { local $/; <FH> });
</code>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-2680">
-- <br>
<small>
<p>See the <b>Copyright notice</b> on my [id://2680|home node].</p>
<p>[http://mag-sol.com/train/public/|Perl training courses]</small>
</div></div>
781989
781989