{ my $sth = $dbh->prepare("SELECT id, value FROM database"); my $result = $sth->fethall_arrayref(); print ""; }