note
Ovid
<p>Wow, do I feel stupid. I completely missed that :) The following replicates his problem (along with the error message):</p>
<code>my $sql = "SELECT * FROM foo";
my $sth = $dbh->prepare($sql) || die "Couldn't prepare $sql: $DBI::errstr";
while ( my @row = $sth->fetchrow_array ) {
print "@row\n";
}</code>
<p>This appears to be a bug in the error reporting.</p>
<p>Cheers,<br />
<a href="/index.pl?node=Ovid&lastnode_id=1072">Ovid</a></p>
<p><small>New address of <a href="http://users.easystreet.com/ovid/cgi_course/">my CGI Course</a>.<br />
[http://users.easystreet.com/ovid/philosophy/decency.txt|Silence is Evil] (feel free to copy and distribute widely - note copyright text)</small></p>
263146
263156