Hi,
in this case I have two guesses:
But, by the way: Whe you work with DBI and want to do the error handling on your own, than you have to check every DBI method, e.g. my $sth = $dbh->prepare($sql); should also be checked. On the other handside you can enable exceptions with $dbh->{RaiseError} = 1; which is IMHO much easier and an exception is thrown as soon as something went wrong. Especially in debugging cases I would prefer to set RaiseError.
McA
In reply to Re^2: fetchall_arrayref({}) call freezing
by McA
in thread fetchall_arrayref({}) call freezing
by banesong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |