in reply to displaying html file in the browser using perl
HTML::Template does have template expressions to include files, you would need to rename it to:
<TMPL_INCLUDE NAME="filename.tmpl">
for it to work