I think we need to see some of your code that produces the problem before
making any wild guesses.

More comments below.
--
Mac :})
** I normally forward private database questions to the DBI mail lists. **
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Jennifer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 11:46 AM
Subject: Re: Can't call method "do"


> At 04:28 AM 08-03-01, you wrote:
> >$dbh isn't defined at that point - probably because the
> >
> >$dbh = DBI->connect(whatever)
> >
> >failed, and you didn't check for errors connecting to the database.
> >
>
> I have RaiseError => 1  shouldn't that catch an error on the connect?

The script should die if that's part of the connect() call.

> I also printed the value of $dbh to the screen which was
> DBI::db=HASH(0x816ec6c)

Perhaps $dbh went out of scope or was assigned to before the do() call.


Reply via email to