Try adding
   $dbh = undef;
after the disconnect() and see if that helps.  At least the handle will be
released before global destruction.
--
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: Sunday, February 18, 2001 10:19 PM
Subject: RE: DBI with DBD::Oracle Problem #2


> Okay, after some work on this, I'm getting this problem consistently on
the
> actual NT server. You're right, the error happens after the program
runs --
> during destruction.  Results are returned, but the error is routinely
> causing scripts -- CGI -- to crash, or giving other problems.  The error
is
> (as before):
>
>         (in cleanup) Can't call method "FETCH" on an undefined value at
> D:/Perl/
> site/lib/Win32/TieRegistry.pm line 1486 during global destruction.
>
> Is there a way to at least catch/throw this in a CGI and tell perl to
ignore
> it?  Or... can give perl a flag to tell it to ignore it?
>
> This time I'm on an NT 4.0 with active perl 5.6.1 (the most recent) and
> updated DBD, DBI, etc.
>
> No firewall or anything like that is up....
>
> Suggestions greatly appreciated, as I need to get this up and working in a
> couple of days.


Reply via email to