On Fri, 28 Dec 2001 12:45:08 -0500, Hardy Merrill wrote:

>  $dbh->{RaiseError} = 1;

Just a sidenote: you can use "local" here (even if $dbh is a lexical).

        local $dbh->{RaiseError} = 1;

This will restore the old value of this property when the current block
is exited.

-- 
        Bart.

Reply via email to