# Create the HTML Page from the Templates print $query->header(); $user = ... #get username $log_file = .... #get logfile my $template = "err.tmpl"; # Instantiate a new HTML::Template object my $template = HTML::Template->new( filename => $template ); $template->param( username => $user ); $template->param( log_file => $log_file ); # Generate the HTML page print $template->output(); #### Show Log Files
Log File