in reply to displaying html file in the browser using perl

Alternatively,

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