DBI fetchrow_array出现奇怪的循环
my $sth=$dbh->prepare("select * from coaches");$sth->execute();print header,start_html(-title=>"Sample Database", -bgcolor=>"#66ff33");print "<div align='center'>";print h2("Contents of the\"coaches\" Table");print qq/<table border="1" cellpadding="10" bgcolor="white">/;while (my @val=$sth->fetchrow_array){print <<EOF; <tr> <td>$val[0]</td> <td>$val[1]</td> <td>$val[2]</td> <td>$val[3]</td> <td>$val[4]</td> </tr>EOF }