my $sth = $dbh->prepare($get_login_form) || die $dbh->errstr; unless( my $rv = $sth->execute ){ die "Konnte login_form nicht aus Datenbank lesen"; } $template->param( "inhalt" => join"",@$sth->fetchrow_arrayref() ); $sth->finish();