Re: Release connections in MODPERL

D. Duccini <duccini@backpack.com>

From: "D. Duccini" <duccini@backpack.com>
To: "Brett W. McCoy" <bmccoy@chapelperilous.net>
Cc: Pgsql-novice <pgsql-novice@postgresql.org>
Date: 2001-01-11T05:01:23Z
Lists: pgsql-novice
> Except you mean undef, right?  There is no null in Perl.  Even so, though,
> undef does not call object destructors (i.e., DESTROY method), only
> decrements the reference count, which hopefully means it wil get garbage
> collected.


well, $SQL = null;

compiles and produces the results described.

undef would probably work as well

-----------------------------------------------------------------------------
david@backpack.com            BackPack Software, Inc.        www.backpack.com
+1 651.645.7550 voice       "Life is an Adventure.    
+1 651.645.9798 fax            Don't forget your BackPack!"   
-----------------------------------------------------------------------------