Yes, if I call $dbh->disconnect() and then assign $dbh = undef I still get 
the same error message:

        (in cleanup) Can't call method "FETCH" on an undefined value at 
D:/Perl/
site/lib/Win32/TieRegistry.pm line 1486 during global destruction.

I get this message even if I only have a connect string and no prepares, 
fetches, or anything else in the code.

>From: "Michael A. Chase" <[EMAIL PROTECTED]>
>To: "P B" <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: Re: DBI with DBD::Oracle Problem #2
>Date: Mon, 19 Feb 2001 11:22:14 -0800
>
>This happens even if you disconnect before assigning undef to the handle?
>
>--
>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: "P B" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Monday, February 19, 2001 6:31 AM
>Subject: Re: DBI with DBD::Oracle Problem #2
>
>
> > If I have both the undef and the disconnect() I get the message:
> >
> > Can't call method "disconnect" on an undefined value at dbtest.pl line 
>19.
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to