print "Content-Type: text/html\n\n"; print $header->output; while($ref = $sth->fetchrow_hashref()) { $subtemplate->param(ZENSUR => $ref->{'word'}); $subtemplate->param(ERSATZ => $ref->{'replacement'}); }; $subtemplate->param(ANZEIGE => 1); $subtemplate->param(FORMULAR => 0); $content = $subtemplate->output(); $template->param(CONTENT => $content); print $template->output; print $footer->output; exit;