> I am receiving a strange error on exiting a script: Attempt 
> to free unreferenced scalar during global destruction.  It 
> only occurs after I make a DBI connection and run an SQL 
> statement.  I am undefing the statement handle and 
> disconnecting the database handle.  Does anyone have a clue 
> what this might be?

My guess is that because you're undef-ing $sth instead of just doing
$sth->finish(), the destructor for whatever package $sth belongs to is
getting mad when the object it's trying to clean up isn't there. I'm
pretty sure this has been suggested already, but why can't you let $sth
go out of scope (or force it to)?

 -dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to