Up Prev Next
From: Martin Little <martin at klg dot com>
Subject: Re: Sybperl 2.0 on Sybase- IQ server
Date: Apr 27 1999 5:07PM
I think I know where you got this idea, if they were to
convert the garbage collector from a reference count to
say a mark&sweep system then you couldn't be sure that just
because there were no more references that the object would
be collected right away.
"WORENKLEIN, David, GCM" wrote:
> Hmm, maybe I'm remembering another language.
> -----Original Message-----
> From: Michael Peppler [mailto:firstname.lastname@example.org]
> Sent: Tuesday, April 27, 1999 10:36 AM
> To: SybPerl Discussion List
> Subject: RE: Sybperl 2.0 on Sybase- IQ server
> WORENKLEIN, David, GCM writes:
> > My understanding is that Sybperl will disconnect some time after the
> > goes out of scope, but it's up to the Perl garbage collector to decide
> > exactly when it happens. Even if a it usually happens when the handle
> > out of scope, you can't depend on it in future versions of Perl.
> Could you point me to some docs or messages that discuss this?
> If this is correct then we should add explicit closing of connections
> ($dbh->ct_close() I guess) to the Sybase::CTlib module.