Suggestion: "Don't do that." :}b
Read up on %SIG in 'perldoc perlvars'. If you trap the signal and exit from
the signal handler, an END{} block can clean up. It mostly depends on
whether the signal can be trapped.
Without more details it is hard to be more specific.
--
Mac :})
** I normally forward private database questions to the DBI mail lists. **
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 07:38
Subject: Cursors left open on abnormal script termination...
> Hello peoples,
>
> We are having an interesting problem. We are using DBI-1.14 with
> DBD::Oralce 1.06 and when a script is cancelled while there is an active
DBI
> connection we sometimes end up with cursors left over. We are connecting
to
> a Oracle-8.1.7 database on Tru64 5.1a. Any hints or help much
appreciated.
>
> Kevin Riggins
> Dice.com
> email: [EMAIL PROTECTED]
> phone: 515.313.2127
>
>