> So, to restate the question again... does anyone use these specific > methods in the DBI class (*not* on handles): > > DBI->err > or DBI->errstr > > in their code?
Eek, I confess to finding a couple of instances in some of my scripts. But exclusively after DBI->connect calls though; once I have a handle I always use the handle methods. I must have thought: $sth->execute or die $sth->errstr; $dbh->do(...) or die $dbh->errstr; And incorrectly carried that up to DBI->connect, and gone: DBI->connect(...) or die DBI->errstr; But now I know better! ;-( -- Andy Hassall <[EMAIL PROTECTED]> / Space: disk usage analysis tool <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>
