in reply to no rows returned for dbi fetchall_arrayref
if ($result_array) { print "something\n"; } else { print "nothing\n"; }
Also, the DBI POD mentions checking $sth->err
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: no rows returned for dbi fetchall_arrayref
by essej1 (Novice) on May 07, 2013 at 17:07 UTC |