my $sth = $dbh->prepare(<execute($id) or err_trap; while ($sth->fetchrow) { print "string $_"; }