PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

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.

../Martin

"WORENKLEIN, David, GCM" wrote:

> Hmm, maybe I'm remembering another language.
>
> -----Original Message-----
> From: Michael Peppler [mailto:mpeppler@peppler.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
> handle
>  > 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
> goes
>  > 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.
>
> Michael