use HTML::Template::Compiled; my $fehlernummer = $ENV{'QUERY_STRING'}; my $htc = HTML::Template::Compiled->new(    filename => "template/$fehlernummer.html",    tagstyle => [qw(-classic -comment)], ); my %var = (   referer         => $ENV{'HTTP_REFERER'},   request         => $ENV{'REQUEST_URI'},   appname         => $ENV{'HTTP_USER_AGENT'},   ip                  => $ENV{'REMOTE_HOST'},   furahid         => $cgi->cookie('furahiD') ); $htc->param(%var); print $cgi->header; print $htc->output; exit();