in reply to Re: Having problem with handling DBI error in object
in thread Having problem with handling DBI error in object

u mean like this :
$obj->getDDL(); if (!$obj->{ERROR_STR} { ##call other method }

Replies are listed 'Best First'.
Re^3: Having problem with handling DBI error in object
by ikegami (Patriarch) on Jul 19, 2007 at 21:43 UTC
    if (!$obj->getDDL()) { ##use $obj->{ERROR_STR} } ##call other method