RE: strange error message on exiting script

2002-03-18 Thread David Gray
> 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 cl

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
On Mon, 2002-03-18 at 14:41, Jonathan E. Paton wrote: > > I grepped the source code for undef and > > only got back these lines. > > > > app.pm: $sth = undef; > > app.pm: $sth = undef; > > app.pm: local($/) = undef; > > app.pm: return undef; > > app.pm: return undef; >

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
> I grepped the source code for undef and > only got back these lines. > > app.pm: $sth = undef; > app.pm: $sth = undef; > app.pm: local($/) = undef; > app.pm: return undef; > app.pm: return undef; > app.pm: return undef; > app.pm: $row =

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
> > I am undefing the statement handle and > > disconnecting the database handle. Does anyone > > have a clue what this might be? > > perldoc perldiag > [snip] > Attempt to free unreferenced scalar > (W internal) Perl went to decrement the > reference count of a scalar to see if it >

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
On Mon, 2002-03-18 at 14:21, John W. Krahn wrote: > Chas Owens wrote: > > > > 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 > > s

Re: strange error message on exiting script

2002-03-18 Thread John W. Krahn
Chas Owens wrote: > > 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 a

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
On Mon, 2002-03-18 at 13:05, Jonathan E. Paton wrote: > > 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 a

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
> 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. use DBI; > Does anyone