in reply to Loading HTML template using Perl and CGI
Maybe use a real template instead, like HTML::Template?