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)")
In reply to RE: Silencing the grumbling from DBD::ODBC
by little
in thread Silencing the grumbling from DBD::ODBC
by nop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |