in reply to Re^2: Undertanding fetchall_arrayref Help!
in thread Undertanding fetchall_arrayref Help!

my $sth_b = $dbh_b->prepare($sql_b, { RaiseError => 1 }); $sth_b->execute();
or better yet
my $dbh_b = DBI->connect(..., { RaiseError => 1 }); my $sth_b = $dbh_b->prepare($sql_b); $sth_b->execute();

Replies are listed 'Best First'.
Re^4: Undertanding fetchall_arrayref Help!
by Anonymous Monk on Apr 24, 2009 at 20:16 UTC
    That's the least of the issues been asked here!!!

      Are we reading the same thing? What other issues do you see in

      So I should use this then?

      my $sth_b = $dbh_b->prepare($sql_b, { RaiseError => 0 }); $sth_b->execute() or die "$!\n";

      Or are you talking about the OP? Not interested. I tried to help him the first time he posted this question, and it didn't work out well.