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

So I should use this then?
my $sth_b = $dbh_b->prepare($sql_b, { RaiseError => 0 }); $sth_b->execute() or die "$!\n";

Replies are listed 'Best First'.
Re^3: Undertanding fetchall_arrayref Help!
by ikegami (Patriarch) on Apr 24, 2009 at 19:56 UTC
    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();
      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.