% include('/elements/header.html', 'Credit report' ) %>
<% include('/elements/footer.html') %> <%init> my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_credit") or die dbh->errstr; $sth->execute or die $sth->errstr; my @otakers = map { $_->[0] } @{$sth->fetchall_arrayref}; %init>