|
|
sybperl-l Archive
Up Prev Next
From: "Manjeet Kalsi" <manjeet dot kalsi at prudential dot com>
Subject: Re: Closing a connection in CTLIB
Date: Feb 10 2000 5:14PM
Tim,
It's not required, but if you want to, you can use
$dbh = undef;
Hope that helps.
Manjeet
tim.wilson@barclayscapital.com
Thursday February 10, 2000 12:04 PM
Please respond to SYBPERL-L@list.cren.net
To: SybPerl Discussion List
cc: (bcc: Manjeet Kalsi/O&S/Prudential)
Subject: Closing a connection in CTLIB
I notice there is a dbclose in DBI , but how do you close a connection with
CTlib before the program exits?
I have a script that may wait around for some hours but by that stage it has
finished with the DB connection.
This can cause problems if there are alot of these scripts waiting with open
connections.
thanks in advance
Tim Wilson
--------------------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.
Internet communications are not secure and therefore the Barclays Group
does not accept legal responsibility for the contents of this message.
Any views or opinions presented are solely those of the author and do
not necessarily represent those of the Barclays Group unless otherwise
specifically stated.
--------------------------------------------------------------------------------------
|