in reply to Silencing the grumbling from DBD::ODBC
so better tryeval { $ref = $dbh_g->selectcol_arrayref($sql) };
and the eval will catch the error :-) if the query failseval("$ref = $dbh_g->selectcol_arrayref($sql)")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Silencing the grumbling from DBD::ODBC
by Fastolfe (Vicar) on Sep 28, 2000 at 19:27 UTC |